No debug in latest xampp ??

Problems with the Windows version of XAMPP, questions, comments, and anything related.

No debug in latest xampp ??

Postby gilblais » 04. May 2015 10:44

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?
gilblais
 
Posts: 3
Joined: 22. November 2013 12:08
Operating System: windows 7

Re: No debug in latest xampp ??

Postby Altrea » 04. May 2015 16:06

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
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8286
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: No debug in latest xampp ??

Postby AlbertAlpha1 » 05. May 2015 13:14

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.
AlbertAlpha1
 
Posts: 1
Joined: 05. May 2015 12:58
Operating System: Windows 7, OSX 10.9

Re: No debug in latest xampp ??

Postby gilblais » 05. May 2015 17:38

That did the trick. Thanx for your help.. XAMPP is the BEST...
gilblais
 
Posts: 3
Joined: 22. November 2013 12:08
Operating System: windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 27 guests