Stefan S
Stefan S

Reputation: 647

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?

Upvotes: 6

Views: 4491

Answers (4)

PooMoo
PooMoo

Reputation: 21

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...

Upvotes: 2

karma_police
karma_police

Reputation: 352

Check security options of .dll xdebug file. If you see on file's icon small lock icon - nobody except you can't use this file. In that case add Users group in security tab in file's properties.

Upvotes: 0

tlenss
tlenss

Reputation: 2609

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"

Upvotes: 9

Timmetje
Timmetje

Reputation: 7694

This is a common problem about confusion which php.ini is used, look which php.ini apache uses. You might be editing the wrong ini file.

Look for Loaded Configuration File in phpinfo()

enter image description here

Sometimes it loads from

..\bin\apache\Apache#.#.#\bin\php.ini

In stead of

...\bin\php\php#.#.#\php.ini

Upvotes: 1

Related Questions