dqusbxh44823
dqusbxh44823
2016-01-06 20:24
浏览 214
已采纳

不要在PHP 7.0中使用composer

Don't work composer in PHP 7.0

I insert this command to the terminal:

$sudo composer require cocur/slugify

In the directory is created only one empty file composer.json

My OS: Ubuntu 14.04

My PHP:

PHP 7.0.1-5+deb.sury.org~trusty+1 (cli) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
with Xdebug v2.4.0RC2, Copyright (c) 2002-2015, by Derick Rethans
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies

Sorry, the application php7.0 has stopped unexpectedly

php7.0 crashed with sigsegv in xdebug_var_export

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • drag2458
    drag2458 2016-01-07 00:09
    已采纳

    To get rid of the error, you might simply disable the Zend Extension "xdebug" for Composer runs:

    ;zend_extension = "/path/to/xdebug.so" in php.ini.

    点赞 评论

相关推荐