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

不要在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 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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 Sharepoint JS开发 付费技术指导
  • ¥15 输入程序运行仿真后,烟雾值不实时检测,变成固定值
  • ¥20 数据排序,可选择排序方向
  • ¥15 修改一下代码,考虑进程到达时间不同的情况
  • ¥15 帮我看看这是个啥题,带解题过程和结果,条件如下FCF = 290471.33 g1 = 15% r = 8% g2 = 4% n = 5
  • ¥15 edem模拟颗粒不显示或者生成失败
  • ¥15 Python代码编写
  • ¥15 php 将rtmp协议转hls协议,无法播放
  • ¥20 python代码编写
  • ¥20 使用MPI广播数据遇到阻塞