XDebug未加载Windows 7 64位PHP 5.4

我有 PHP在apache上运行.我已经下载了我认为是正确的xdebug编译dll为PHP版本5.4 64位窗口.我有线程安全启用,它正在使用VC9.我已经下载了dll并将其放在这里
C:\PHP5\extras\PHP_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll

这是我在PHP.ini中的内容

[xdebug]
zend_extension = "C:\PHP5\extras\PHP_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll"

当我启动Apache,我得到这个错误

[Wed Apr 04 17:01:56 2012] [notice] Parent: Received restart signal -- Restarting the server.
Failed loading C:\PHP5\extras\PHP_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll
hild process is ending.
[Wed Apr 04 17:01:56 2012] [notice] Apache/2.2.22 (Win32) PHP/5.4.0 configured -- resuming normal operations
[Wed Apr 04 17:01:56 2012] [notice] Server built: Jan 28 2012 11:16:39
[Wed Apr 04 17:01:56 2012] [notice] Parent: Created child process 2120
[Wed Apr 04 17:01:57 2012] [notice] Child 2120: Child process is running
[Wed Apr 04 17:01:57 2012] [notice] Child 2120: Acquired the start mutex.
[Wed Apr 04 17:01:57 2012] [notice] Child 2120: Starting 64 worker threads.
[Wed Apr 04 17:01:57 2012] [notice] Child 5624: Released the start mutex
[Wed Apr 04 17:01:58 2012] [notice] Child 5624: All worker threads have exited.
[Wed Apr 04 17:01:58 2012] [notice] Child 5624: Child process is exiting
Failed loading C:\PHP5\extras\PHP_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll

解决方法

为了确保您已经下载了正确的二进制文件,您可以使用 http://xdebug.org/wizard.php的向导它会准确地告诉您哪个文件要下载,在哪个PHP.ini文件中应该放置zend_extension行(你正在使用正确的当然,当你得到“无法加载”的错误时).

相关文章

最近看了一下学习资料,感觉进制转换其实还是挺有意思的,尤...
/*HashSet 基本操作 * --set:元素是无序的,存入和取出顺序不...
/*list 基本操作 * * List a=new List(); * 增 * a.add(inde...
/* * 内部类 * */ 1 class OutClass{ 2 //定义外部类的成员变...
集合的操作Iterator、Collection、Set和HashSet关系Iterator...
接口中常量的修饰关键字:public,static,final(常量)函数...