自制编写器无法加载php xdebug
我将我的自制xdebug从2.2.6升级到2.2.7,没有检查以前的版本,但当我尝试运行composer时,它输出以下错误自制编写器无法加载php xdebug,php,composer-php,homebrew,xdebug,Php,Composer Php,Homebrew,Xdebug,我将我的自制xdebug从2.2.6升级到2.2.7,没有检查以前的版本,但当我尝试运行composer时,它输出以下错误 Failed loading /usr/local/Cellar/php54-xdebug/2.2.6/xdebug.so: dlopen(/usr/local/Cellar/php54-xdebug/2.2.6/xdebug.so, 9): image not found OS:Mountain Lion、composer和php54 xdebug通过自制软件安装
Failed loading /usr/local/Cellar/php54-xdebug/2.2.6/xdebug.so: dlopen(/usr/local/Cellar/php54-xdebug/2.2.6/xdebug.so, 9): image not found
OS:Mountain Lion、composer和php54 xdebug通过自制软件安装
我尝试降级xdebug,但brew版本php54 xdebug命令中没有版本2.2.6
composer版本为1.0.0-alpha9我花了一段时间才找到它,绑定到php.ini文件的xdebug扩展在brew升级后未更新,请将ext-xdebug.ini中的版本从2.2.6更新到2.2.7
$ php --ini
Configuration File (php.ini) Path: /usr/local/etc/php/5.4
Loaded Configuration File: /usr/local/etc/php/5.4/php.ini
Scan for additional .ini files in: /usr/local/etc/php/5.4/conf.d
Additional .ini files parsed: /usr/local/etc/php/5.4/conf.d/ext-apc.ini,
/usr/local/etc/php/5.4/conf.d/ext-xdebug.ini
我花了一段时间才找到它,绑定到php.ini文件的xdebug扩展在brew升级后没有更新,请将ext-xdebug.ini中的版本从2.2.6更新到2.2.7
$ php --ini
Configuration File (php.ini) Path: /usr/local/etc/php/5.4
Loaded Configuration File: /usr/local/etc/php/5.4/php.ini
Scan for additional .ini files in: /usr/local/etc/php/5.4/conf.d
Additional .ini files parsed: /usr/local/etc/php/5.4/conf.d/ext-apc.ini,
/usr/local/etc/php/5.4/conf.d/ext-xdebug.ini
您可以在本期中尝试
brew安装--从源php71 xdebug构建
:您可以在本期中尝试brew安装--从源php71 xdebug构建
: