加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

XDebug未加载Windows 7 64位PHP 5.4

发布时间:2020-12-14 17:48:55 所属栏目:Java 来源:网络整理
导读:我有 PHP在apache上运行.我已经下载了我认为是正确的xdebug编译dll为php版本5.4 64位窗口.我有线程安全启用,它正在使用VC9.我已经下载了dll并将其放在这里: C:php5extrasphp_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll 这是我在php.ini中的内容: [xdebug]zend
我有 PHP在apache上运行.我已经下载了我认为是正确的xdebug编译dll为php版本5.4 64位窗口.我有线程安全启用,它正在使用VC9.我已经下载了dll并将其放在这里:
C:php5extrasphp_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll

这是我在php.ini中的内容:

[xdebug]
zend_extension = "C:php5extrasphp_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:php5extrasphp_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:php5extrasphp_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll

解决方法

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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读