Andraw, I’m a beginner in php and went through the same problem, researched, researched, and gave!
To check the correct path to place the dll of Xdebug, use the Xdebug website itself, where you have a part of Installation instructions*, provide you the correct path, as @rray should start appearing errors in orange.
php.ini
(in my php.ini had nothing related to Xdebug)
[XDebug]
zend_extension = C:\xampp\php\ext\php_xdebug-2.4.0-5.6-vc11.dll
xdebug.remote_enable=1
xdebug.profiler_enable=1
The path was what the site with the instructions generated me:
You’re already running the Latest Xdebug version
But here are the Instructions anyway:
- Download php_xdebug-2.4.0-5.6-vc11. dll
- Move the downloaded file to C: xampp php ext
- Update
C:\xampp\php\php.ini
and change the line
zend_extension = C:\xampp\php\ext\php_xdebug-2.4.0-5.6-vc11.dll
- Restart the webserver
*Paste into the site text box, output from phpinfo()
(can be the source code of the generated HTML page, or the output of the php -i
)
Any questions you may ask, I’ve been trying to solve this may have missed something :)
Xdebug from php? It is enabled on the server?
– rray
In php.ini? If so, what line does it enable?
– Andrew Maxwell
look for that line in php.ini:
[XDebug] zend_extension = caminho da extensão.
and remove the point and comma from it, restart apache, now the error msg should appear in orange that means Xdebug has been enable correctly.– rray
zend_extension = "D:/wamp/bin/php/php5.4.12/zend_ext/php_xdebug-2.2.3-5.4-vc9-x86_64.dll"
. It’s that way, I think it’s all right! And it still didn’t work!– Andrew Maxwell