Xdebug does not load Windows 7 64 bit PHP 5.4

I have PHP running on Apache I have downloaded what I think is the correct Xdebug compilation DLL for PHP version 5.4 64 bit window I have thread safety enabled and it is using vc9 I have downloaded the DLL and put it here:

C:\PHP5\extras\PHP_xdebug-2.2.0RC1-5.4-vc9-x86_64.dll

This is me in PHP Contents in ini:

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

When I start Apache, I get this error:

[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

Solution

To ensure that you have downloaded the correct binary, you can use http://xdebug.org/wizard.php It will tell you exactly which file to download and which PHP Zend should be placed in the INI file_ Extension line (you are using the correct, of course, when you get the "can't load" error)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>