Unable to install Xdebug on XAMPP and Windows XP

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

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

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

I configured my php.ini according to various 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 in phpinfo() no additional entries are displayed. I checked that no other debugging or appeal modules were activated, and also tried changing the Xdebug port, but nothing worked.

The Apache and Windows error logs do not contain entries related to this problem.

Any clues?

+6
source share
4 answers

It seems that there is an error in XDebug.dll that comes with XAMMP.

Download TS version from xdebug website

And tune in to it

 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" 
+9
source

This is a common confusion problem that php.ini uses and see which php.ini apache uses. You may be editing the wrong ini file.

Find the Loaded Configuration File in phpinfo()

enter image description here

Sometimes it boots with

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

Instead

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

+1
source

Same problem here, but I solved the problem

Download HERE if you want, but

Xampp 1.8.2 does not need Xdebug anymore, because Xampp 1.8.2 has 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" 

Sorry for my bad english ...

+1
source

Check the security settings of the .dll xdebug file. If you see the file icon of a small lock icon - no one except you can use this file. In this case, add the user group on the security tab in the file properties.

0
source

Source: https://habr.com/ru/post/946575/


All Articles