Can't install Xdebug on XAMPP and Windows XP

﹥>﹥吖頭↗ 提交于 2019-12-05 07:18:09

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"

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()

Sometimes it loads from

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

In stead of

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

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

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!