我下载了 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。