I have added following lines into php.ini
[XDebug] zend_extension = C:PROGRA~1PHP5extphp_xdebug-2.1.0-5.3-vc9.dll xdebug.remote_enable=on xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9000
Version of php_xdebug-2.1.0-5.3-vc9.dll
is obtained via page http://www.xdebug.org/find-binary.php.
But there are no any mentions of ‘xdebug’ string in output of phpinfo()
.
What can be wrong?
(This is my second fight with php-xdebug to get working, first time I gave up. If you have other suggestions concerning debugging please add them also, possibly as comments to the question. I would like to following scenario work under windows: “Set up break point, run my script, it stops on break point and I can see the value of some variable”. Thanks)
UPDATE
Restart of Apache does not resolve the issue. In log file the message appears:
Apache/2.2.14 (Win32) PHP/5.3.1 configured – resuming normal operations
Advertisement
Answer
zend_extension = C:PROGRA~1PHP5extphp_xdebug-2.1.0-5.3-vc9.dll
should be replaced by
zend_extension="C:PROGRA~1PHP5extphp_xdebug-2.1.0-5.3-vc9.dll"
P.S. Will e-mail xdebug guys.