我已经在带有 Apache 2.4 (TS) 的 Windows x64 上安装了最新的php 5.5.0 beta1 。
我无法让Xdebug工作。
我想知道是否有人知道新的 php beta 是否根本不支持 Xdebug 或者我做错了。我花了最后一个小时尝试网络上的所有已知问题。
环境
Apache Version Apache/2.4.4 (Win64) PHP/5.5.0beta1
Compiler MSVC11 (Visual C++ 2012)
我做了什么
- httpd.conf
LoadModule php5_module "E:\wamp\php\php5apache2_4.dll"
- php.ini
zend_extension=E:\wamp\php\ext\php_xdebug.dll
- E:\wamp\php\ext\php_xdebug.dll
php_xdebug-2.2.1-5.4-vc9-x86_64
- php.exe -m
Failed loading E:\wamp\php\ext\php_xdebug.dll
命令行中的php.exe -i产生以下错误(如果我注释掉 php.ini 中的 zend_extension 行,该错误就会消失):
php.exe - 未找到入口点
The procedure entry point zend_unmangle_property_name could not be located in the dynamic link library php5ts.dll
Xdebug 向导输出
此外,我在http://xdebug.org/wizard.php中的 phpinfo 的结果如下。当phpinfo说VC11时,我不确定为什么它说我正在使用VC6 ...
Summary
Xdebug installed: no
Server API: Command Line Interface
Windows: yes - Compiler: MS VC6 - Architecture: x64
Zend Server: no
PHP Version: 5.5.0
Zend API nr: 220121212
PHP API nr: 20121212
Debug Build: no
Thread Safe Build: yes
Configuration File Path: C:\Windows
Configuration File: E:\wamp\php\php.ini
Extensions directory: E:\wamp\php\ext
The compiler (MS VC6) that this PHP was build with, is no longer supported. Please upgrade to a version that was built with MS VC9.