Created
June 1, 2015 20:07
-
-
Save zolem/a87e74541dc3ea9265ce to your computer and use it in GitHub Desktop.
Install xdebug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Installing xdebug" | |
wget http://xdebug.org/files/xdebug-2.3.2.tgz | |
tar -xvzf xdebug-2.3.2.tgz | |
cd xdebug-2.3.2/ | |
phpize | |
./configure | |
make | |
sudo cp modules/xdebug.so /usr/lib/php5/20121212+lfs | |
sudo sh -c "echo 'zend_extension = /usr/lib/php5/20121212+lfs/xdebug.so' >> /etc/php5/apache2/php.ini" | |
sudo sh -c "echo 'xdebug.remote_enable=1' >> /etc/php5/apache2/php.ini" | |
sudo sh -c "echo 'xdebug.remote_handler=dbgp' >> /etc/php5/apache2/php.ini" | |
sudo sh -c "echo 'xdebug.remote_mode=req' >> /etc/php5/apache2/php.ini" | |
sudo sh -c "echo 'xdebug.remote_port=9000' >> /etc/php5/apache2/php.ini" | |
sudo sh -c "echo 'xdebug.remote_connect_back=1' >> /etc/php5/apache2/php.ini" | |
cd ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment