Install xdebug profiler on Ubuntu 9.10 Karmic Koala
Install the following :
sudo apt-get install php5-dev sudo apt-get install php5-xdebug
Find where the xdebug.so file is :
martin@martin-dev:/$ find / -name 'xdebug.so' 2> /dev/null /usr/lib/php5/20060613/xdebug.so
Now edit the php.ini configuration file as follows :
sudo gedit /etc/php/apache2/php.ini
Add the following line at the end :
zend_extension="/usr/lib/php5/20060613/xdebug.so"
To enable profiling add :
xdebug.profiler_enable = 1
Now restart Apache
sudo /etc/init.d/apache2 restart
Popularity: 3% [?]















