XDebug未加载Windows 7 64位PHP 5.4

前端之家收集整理的这篇文章主要介绍了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行(你正在使用正确的当然,当你得到“无法加载”的错误时).
原文链接:https://www.f2er.com/java/123801.html

猜你在找的Java相关文章