我下载了php_xdebug-2.0.5-5.3-vc9.dll,在PHP.ini的末尾添加了下面一行:
zend_extension_ts="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc9.dll"
当我使用 phpinfo() 时,没有加载 xdebug。
当我运行命令“php.exe -m”时,它也没有加载。
如何解决?
我的配置:PHP 5.3.1,带有 Apache 模块的 Apache 2.2.14,操作系统:Windows Vista php 和 xdebug 都是线程安全的。
这有点类似于: Apache not loading Xdebug, but does when started from the Command Line
编辑:
我使用 VC6 dll 和固定配置:
zend_extension="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc6.dll"
仍然无法在 phpinfo() 输出中找到 xdebug。
最佳答案
zend_extension_ts
在 >5.3 上被弃用。尝试使用 zend_extension
代替。
关于php - XDebug 未加载到 PHP(Vista、Apache 模块)中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2403675/