XDebug 没有装载 Windows 7 64 bit PHP 5.4

我有 php 效劳于 apache. 我下载了我的思考 xdebug, 挂 dll 为了 php 版本 5.4 64 bit windows. 我有一个线程安全,它使用 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
已邀请:

江南孤鹜

赞同来自:

要确保您下载了正确的二进制文件,可以使用master
http://xdebug.org/wizard.php
, 他肯定会告诉你哪些文件下载以及哪个文件 php.ini 你必须放一个字符串 zend_extension /现在,您当然使用正确的文件,因为您收到错误 "Failed to load"/.

知食

赞同来自:

好吧,现在他工作,我想我知道不是。 我用了 64 位版本 PHP, 但是32位版本 Apache 和 64 位版本 xdebug. 我先开始了一切,并使用了32位版本 Apache 2.4, 似乎没有版本 64 bit 与模块 php5. 所以,我相信我有一个32位版本的一切。 我用 php5.4 从 VC9, 线程安全。

博客中的这篇文章有助于配置:
http://lifeofageekadmin.com/ho ... ws-7/
/

龙天

赞同来自:

最后它结果。
按照网站上的说明 xdebug, 我使用了主人并下载了该文件 dll 在目录中 'ext'. 然后主人对我说,将此行添加到我的文件中 php.ini:
zend_extension=ext\php_xdebug-2.3.3-5.6-vc11.dll


这给了我一个如上所述的错误:
Failed loading ext\php_xdebug-2.3.3-5.6-vc11.dll


我还试图用直接倾斜线替换反斜线,但它失败了:
Failed loading ext\ext/php_xdebug-2.3.3-5.6-vc11.dll


看上最后一条消息,我认为,如果,扩展目录会导致问题,我看到了我的文件 php.ini 有这样的行:
extension_dir = "ext"


因此,我转型使用:
zend_extension=php_xdebug-2.3.3-5.6-vc11.dll

, 它的工作!

石油百科

赞同来自:

在最后一个版本中
xampp

你只需要添加
zend_extension=xdebug


php.ini

, 例如:


zend_extension=xdebug
[XDebug]
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "c:\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "c:\xampp\php"
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_connect_back=on
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.idekey="PHPSTORM"

董宝中

赞同来自:

好吧,我知道这真的是一个古老的僵尸主题,但是,最近通过这个问题贯彻这个问题,事实证明她有一个琐碎的解决方案。

PHP.INI 需要使用直接斜杠进行目录,而安装说明 XDebug 在部分 windows 使用倒带线。 SO 对于上述源任务,解决方案是更改字符串 zend_extension 读:

zend_extension = "C:/RRR5./此外/php_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll"

我希望它会有所帮助。

窦买办

赞同来自:

B.
C:\php5\ext

并看看是否已经存在
php_xdebug.dll

. 如果没有,请尝试重命名
php_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll


php_xdebug.dll

把它放进去
C:\php5\ext

, 然后改变加法
php.ini

在:


[xdebug]
zend_extension = "C:\php5\ext\php_xdebug.dll"

帅驴

赞同来自:

我有 Windows 7 64bit 和 php v5.4.4, 但是版本 x-debug, 我需要下载哪个 :

PHP 5.4 VC9 /32 页/ /MD5: ffeb0215621d330fa53b249f0930ffae/

因为 IIS 不能与之合作 xdebug 64bit

我的指示也是如此 php.ini :


[Xdebug]
zend_extension="C:\Program Files /x86/\iis express\PHP\v5.4\ext\php_xdebug-2.4.0rc4-5.4-vc9-nts.dll"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.profiler_enable=1
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "C:\temp\php"
xdebug.profiler_output_dir="C:\temp\php"

窦买办

赞同来自:

有同样的问题。 对我来说,我需要一个绝对的路径
zend_extension

在报价中 /但逆倾斜的功能很好/.

要回复问题请先登录注册