XDebug未在PHP中加载(Vista,Apache模块)

问题描述:

我下载了php_xdebug-2.0.5-5.3-vc9.dll,该文件在PHP.ini的末尾添加了以下行:

I downloaded php_xdebug-2.0.5-5.3-vc9.dll, added at the end of PHP.ini the following line:

zend_extension_ts="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc9.dll"

当我使用phpinfo()时,不会加载xdebug.

When I use phpinfo(), xdebug is not loaded.

当我运行命令"php.exe -m"时,它也没有加载.

When I run command "php.exe -m", it not loaded as well.

如何解决?

我的配置:PHP 5.3.1,带有Apache模块的Apache 2.2.14,操作系统:Windows Vista php和xdebug都是线程安全的.

My configuration: PHP 5.3.1, Apache 2.2.14 with Apache Module, OS: Windows Vista Both php and xdebug are thread safe.

这有点类似于: > Apache未加载Xdebug,但在以下情况下会加载从命令行开始

我使用VC6 dll和固定配置:

I use VC6 dll and fixed configuration:

zend_extension="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc6.dll"

仍然无法在phpinfo()输出中找到xdebug.

Still can not find xdebug in phpinfo() output.

zend_extension_ts在> 5.3上已弃用.改为使用zend_extension尝试.

zend_extension_ts is deprecated on >5.3. Try it with zend_extension instead.