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

xdebug - php extensions folder

xdebug - php extensions folder

When you finished locate and open php.ini file, it usualy located in apache bin folder or in php folder,

xdebug - Edit php ini file

xdebug - Edit php ini file

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

No comments yet.

Leave a comment

(required)

(required)