How to set up Xdebug for PHP5-FPM on Ubuntu


Install required packages:
$ sudo apt-get install php5-dev php-pear
$ sudo pecl install xdebug
Open file /etc/php5/fpm/php.ini and add the following line to the “Dynamic Extensions” section:
zend_extension="/usr/lib/php5/20131226/xdebug.so"
Restart PHP:
$ sudo service php5-fpm restart
If you liked this article

Let's subscribe the updates of Scuti!
Share on Google Plus

About Quang Tran Manh

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 Comments:

Post a Comment