Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No xdebug in phpinfo()

Tags:

php

xdebug

I have added following lines into php.ini

[XDebug]
zend_extension = C:\PROGRA~1\PHP5\ext\php_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

like image 482
sergtk Avatar asked Sep 25 '10 10:09

sergtk


1 Answers

check the top of the output of

php -m

for me it showed an error in php.ini, after solving that xdebug was loaded.

like image 116
Flion Avatar answered Oct 26 '22 00:10

Flion