Posts Tagged ‘ xdebug ’

Simple steps to Installing Xdebug on Ubuntu Server

First install pear

sudo apt-get install php5-dev php-pear

Now install xdebug thru PECL.

sudo pecl install xdebug

Now we need to find where went (the compiled module)

find / -name '' 2> /dev/null /usr/lib/php5/20090626/

20090626 is for my case it might be different for you

Then edit php.ini

sudo gedit /etc/php5/apache2/php.ini

Add the following line:


Then restart apache

sudo /etc/init.d/apache2 restart

for changes to take effect.

sudo /etc/init.d/apache2 restart

For checking it is install or not —

create a file on /var/www/  as info.php

and open it

sudo gedit /var/www/info.php

and write —


Now we call that file in a browser (e.g. http://localhost/info.php):

Xdebug Test

Xdebug Test

Cheers ………