Install xDebug in XAMPP
Like i promised in my previous post here is tutorial how to install xDebug on XAMPP. But first i hope that you have working version of XAMPP on your computer. So let’s start …
First you will need xDebug, you can download this from this site. Choose package what you need and which is compatible with your PHP version – THAT IS IMPORTANT. For example if you have PHP version 5.1.1 you will need xDebug for 5.1.1.
When you finish download copy downloaded xDebug dll file in the folder that contain other PHP extensions, for example c:\php\ext in case that you use XAMPP location is c:\xampp\php\extensions
When you finished locate and open php.ini file, it usualy located in apache bin folder or in php folder,
open php.ini file in your favorite editor and search for
[Zend]
zend_extension_ts = “C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll”
after last line and before next [Something]
add this
zend_extension_ts = “C:\xampp\php\extensions\xdebug.dll”
xdebug.remote_enable = on
Replace C:\xampp\php\extensions\xdebug.dll with full path to your xDebug dll file.
And that is all now you have working debug server on your xampp
Except this you will need debug client ( xDebugClient ) too for full operational environment
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.
Comments
Hi ![]()
i’ve followed your procedure but apache crashes after ~2 seconds
i don’t have curl enabled in php
B-) i know its first comment 9 months… just pointing out for the reader who find out this post after today
cheers. eAdd.
in fact i found the answer
so i commented the zend optimizer in php.ini under [zend] section.
[zend]
;zend_extension_ts = “D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll”
;zend_extension_manager.optimizer_ts = “D:\xampp\php\zendOptimizer\lib\Optimizer”
;zend_optimizer.enable_loader = 0
;zend_optimizer.optimization_level=15
does the trick..
cheers
eAdd
[...] receive many e-mails from my readers regarding my PHP & MySQL Develpment enviroment and xDebug on XAMPP most of those readers have trouble with running CURL on their XAMPP, also i find that over web have [...]
I had to remove the “_ts” in my php.ini for some reason:
zend_extension=”E:\XAMPP\php\ext\php_xdebug.dll”
xdebug.remote_enable=On
xdebug.remote_host=”localhost”
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
worked for me.




















[...] Install xDebug in XAMPP | Mad Babble & Lucid Thought [...]