Xdebug不工作与PHP 5.5.0 beta1在Windows上


Xdebug not working with PHP 5.5.0 beta1 on Windows

我已经在Windows x64上安装了最新的php 5.5.0 beta1与Apache 2.4 (TS)。

我无法让Xdebug工作。

我想知道是否有人知道如果Xdebug是根本不支持新的php测试版,或者如果我做错了。我花了一个小时在网上尝试了所有已知的问题。

Apache Version Apache/2.4.4 (Win64) PHP/5.5.0beta1
Compiler MSVC11 (Visual C++ 2012)

我做了什么

  • http .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 - Entry Point Not Found
    The procedure entry point zend_unmangle_property_name could not be located in the dynamic link library php5ts.dll

Xdebug向导输出

同样,我的phpinfo在http://xdebug.org/wizard.php的结果如下。我不知道为什么它说我使用VC6,而phpinfo说VC11…

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.

我认为最新的xdebug只支持php 5.4。Xdebug需要完全相同的php版本才能工作。