This will install xdebug 2.0 (or whatever is latest version in PEAR repository when you try this).
It is assumed you have Apache2 + PHP5 working already.
Code:
sudo apt-get install php5-dev php-pear
Code:
sudo pecl install xdebug
Code:
martin@martin-dev:/$ find / -name 'xdebug.so' 2> /dev/null /usr/lib/php5/20060613/xdebug.so
Code:
sudo gedit /etc/php/apache2/php.ini
Code:
zend_extension="/usr/lib/php5/20060613/xdebug.so"
Code:
sudo /etc/init.d/apache2 restart
No comments:
Post a Comment