Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install Xdebug on XAMPP and Windows XP

I know, this has been asked several times, but the answers did not solve my problem.

I am running XAMPP 1.8.2 on Windows XP SP3 and am struggling in installing XDebug.

I downloaded XDebug from the website. Unfortunately, the installation wizard did not work for me, my PHP Version is 5.4.16, so I chose the file for PHP 5.4 VC9 TS (32 bit).

I configured my php.ini according to different tutorials:

[XDebug]
zend_extension_ts = "D:\Stefan\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll"
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_mode=req
xdebug.remote_port = 9000
xdebug.remote_autostart = 1

When restarting apache, no additional entries show up in the phpinfo(). I have checked, that no other debugging or accelleration modules are activated, and also tried to change the Xdebug port, but nothing worked.

The Apache and Windows Error Logs do not contain any entries related to this issue.

Any hints?

like image 418
Stefan S Avatar asked Jul 04 '13 08:07

Stefan S


2 Answers

There seems to be a bug in the XDebug.dll that comes with XAMMP.

Download the TS version from the xdebug website

And configure like this

zend_extension = "D:\Stefan\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "D:\Stefan\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 0
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "D:\Stefan\xampp\tmp"
like image 153
tlenss Avatar answered Nov 10 '22 23:11

tlenss


Ok same problem here but i resolved problem

Download it HERE , if you want BUT

Xampp 1.8.2 no need Xdebug more because , Xampp 1.8.2 have Xdebug.dll !!!

look like this :

zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
zend_extension_ts = "C:\xampp\php\ext\php_xdebug-2.2.3-5.4-vc9.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "C:\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 0
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "C:\xampp\tmp"

So sorry for my bad english...

like image 2
PooMoo Avatar answered Nov 10 '22 22:11

PooMoo