微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

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.jb51.cc/java/123801.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐