Setting up XDebug for PHP in Ubuntu Intrepid Ibex
Posted: January 13th, 2009 | Author: Rob Searles | Filed under: Linux, PHP | CommentsI love Ubuntu and today reminded me exactly why. It’s just so easy to do stuff in it!
I run a LAMP development server off my laptop, and today some of the PHP I was writing was throwing up some errors. Unfortunately I hadn’t installed XDebug which makes life so much easier when debugging PHP.
Oh no, I though. I’ll have to download it, install it, update the PHP.ini file. Argh.
But wait…no! I have Ubuntu, all it took was 2 easy steps:
Step 1, install Xdebug
sudo apt-get install php5-xdebug
Step 2, restart Apache
sudo /etc/init.d/apache2 restart
Done! Easy peasy.
Thanks Ubuntu




















