I have installed the WAMP server on my Windows Vista system to allow me to debug PHP scripts locally using PHPStorm 2.0. PHPStorm supports the Zend Debugger, so I downloaded Studio Web Debugger from here and then extracted the ZendDebugger.dll from the directory 5_3_x_nts_comp since I am running PHP 5.3.3.

I then copied the DLL to the PHP extension directory c:\wamp\bin\php\php5.3.3\ext, and copied the dummy.php file to my localhost root as directed by their installation guide. Then I added the following lines to my php.ini file following the other extensions:

extension=ZendDebugger.dll

[Zend]
zend_extension=c:/wamp/bin/php/php5.3.3/ext/ZendDebugger.dll
zend_debugger.allow_hosts=127.0.0.1
zend_debugger.expose_remotely=always

and restarted all services using the WAMP menu.

When I ran phpinfo again from my server, I expected to see an entry indicating the Zend Debugger was loaded, but there wasn't anything changed from before.

Furthermore, in my Apache error log file, I get the messages:

Failed loading c:/wamp/bin/php/php5.3.3/ext/ZendDebugger.dll PHP Warning: PHP Startup: Unable to load dynamic library 'c:\wamp\bin\php\php5.3.3\ext\ZendDebugger.dll' - The specified module could not be found in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library 'c:\wamp\bin\php\php5.3.3\ext\ZendDebugger.dll' - The specified module could not be found. in Unknown on line 0

If I go to a command line, and type dir c:\wamp\bin\php\php5.3.3\ext\ZendDebugger.dll, I get this:

Directory of c:\wamp\bin\php\php5.3.3\ext

06/16/2010  05:51 PM           129,528 ZendDebugger.dll
               1 File(s)        129,528 bytes
               0 Dir(s)  114,367,250,432 bytes free

so the file appears to be in the right place.

It doesn't seem to make any difference whether I use forward or backward slashes in the path in my php.ini file -- I get the same messages.

What is a little odd, is that in the WAMP menu PHP Extensions, Zend Debugger is checked.

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.