phpwindowsinstallationxdebugopcache

XDebug configured and installed but not working


I followed instructions how to install xdebug. So, I created file with phpinfo() function, that returns me php info. Then copied php info and used xdebug wizard: https://xdebug.org/wizard That returns me: enter image description here

I followed instructions, so I downloaded .dll file , moved it to location. Edited php.ini file as said but result is still Xdebug installed: no

enter image description here enter image description here

Also I restarted apache server on my xamp control panel.


Solution

  • I figured out what's the problem... I downloaded non treat safe file, so i just downloaded tred safe file and replaced nts. Just copied name of new (tread safe file) and paste it in php.ini file like:

    zend_extension = "C:\xampp\php\ext\php_xdebug-3.0.3-8.0-vs16-x86_64.dll"

    As you can see, the old wan was: zend_extension = "C:\xampp\php\ext\php_xdebug-3.0.3-8.0-vs16-nts-x86_64.dll"

    So, be careful wich one file you downloaded because names are very similar. :D On image I higligted correct version:

    enter image description here