XDebug on XAMPP for Linux
As usual, I could have got this right first time if my brain registered better. Assuming you have the latester version. First of all, you NEED the Xampp Development Package. Go to the download page at: http://www.apachefriends.org/en/xampp-linux.html#374
You’ll find:
- Xampp Download Version 1.x.x
- Xampp Upgrade Version
- Xampp Development Version
You’d never guess how long it took me to find this. The next step to remember is:
- Xampp Development Version is an ADDITIONAL package, not a replacement package. You still need to download the full version if you are doing this for the first time, and do not remove your existing version if you have one. Would be wise to back up though – just in case.
Once you have uncompressed the archive, you’ll have access to phpize that you need. From there, you can proceed to install from source – see http://xdebug.org/install.php. For some reason, the PECL installation didn’t work for me.

Christian
Just read your comments on xampp-developer- where did you put it? My download unpacked onto the Desktop (macs!), and I’m pretty sure that’s wrong…
Anonymous
I too couldn’t build using pecl.
Thanks for the tip on getting the dev extension to xampp!… made sense as the xampp include directory was missing.