Page 1 of 1

No debug in latest xampp ??

PostPosted: 04. May 2015 10:44
by gilblais
Hi - I have tried the installer and the 7z file and cannot get xdebug to kick in. PHP info says debug is not in there. How do I fix this plz?

Re: No debug in latest xampp ??

PostPosted: 04. May 2015 16:06
by Altrea
I simply uncommented all xdebug lines in the php.ini of the .zip version, restarted Apache and xdebug is running in XAMPP 5.6.8

Re: No debug in latest xampp ??

PostPosted: 05. May 2015 13:14
by AlbertAlpha1
In my case I have had to change the path for the xdebug extension in php.ini:

XAMPP original:
Code: Select all
zend_extension = "\xampp\php\ext\php_xdebug.dll"

Changed to:
Code: Select all
zend_extension = "C:\xampp\php\ext\php_xdebug.dll"

It seems loading zend_extension from a relative path doesn't work, at least in windows.
I hope there will be another solution because this break XAMPP portability.

EDIT: better solution, remove any path and it should work:

Code: Select all
zend_extension = "php_xdebug.dll"

It seems PHP is automatically searching inside path defined in "extension_dir = ..." like other non-zend extensions, so the location of the dll should be relative to that directory.

Re: No debug in latest xampp ??

PostPosted: 05. May 2015 17:38
by gilblais
That did the trick. Thanx for your help.. XAMPP is the BEST...