In the previous post, I noted how to setup XDebug on MacOSX. My MacBook is broken, and I switching my PHP development to my Ubuntu environment. I have to admit, my Ubuntu system is a bit old runing 10.04 LTS.

I followed http://www.rdeeson.com/weblog/102/installing-xdebug-for-use-with-eclipse-on-ubuntu-linux.html to install Xdebug.

After running sudo pecl install xdebug, this is the result I received:

Build process completed successfully
Installing '/usr/lib/php5/20090626/xdebug.so'
install ok: channel://pecl.php.net/xdebug-2.2.1
configuration option "php_ini" is not set to php.ini location
You should add "extension=xdebug.so" to php.ini

The location of my php.ini is /etc/php5/apache2/php.ini

Restart Apache