在Acquia Drupal Stack中安装XDebug并加载 [英] Install XDebug and load in Acquia Drupal Stack?
问题描述
我正在尝试追踪这篇文章:
I am trying to follow this article:
http://robshouse.net/article/xdebug-komodo-and-acquia-drupal-stack-installer
我做了所有这些,但是XDebug还没有被加载或显示在phpinfo上。
I did all of that, yet XDebug is still not being loaded or shown on phpinfo.
有没有人成功工作?
我用Homebrews安装了XDebug,brew install xdebug。我将xdebug.so复制到我的acquia stack文件夹/php/ext/xdebug.so,并将appparpiline行添加到php.ini,重新启动堆栈和Apache,没有运气。
I installed XDebug with Homebrews, brew install xdebug. I copied xdebug.so to my acquia stack folder, /php/ext/xdebug.so and added the approrpiate lines to php.ini, restarted the stack and Apache and no luck.
尝试了一些不同的文章,没有成功。
Tried a few different articles and have not had success.
我的php.ini:
[debug]
; Remote settings
zend_extension=/Applications/acquia-drupal/php/ext/xdebug.so
xdebug.remote_autostart=off
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=localhost
xdebug.remote_port=9000
这是在我的apache错误报告:
This is reported in my apache errors:
Failed loading /Applications/acquia-drupal/php/ext/xdebug.so
但文件确实存在。
推荐答案
我没有让XDebug与Homebrew一起工作。
I didn't get the XDebug to work either with Homebrew.
从ActiveState获取工作的xdebug.so 。
http://code.activestate.com/komodo/remotedebugging/
Get the working xdebug.so from ActiveState. http://code.activestate.com/komodo/remotedebugging/
这篇关于在Acquia Drupal Stack中安装XDebug并加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!