关闭xdebug

关闭xdebug


To disable xdebug for PHP-FPM and CLI (all use cases, in fact):

sudo php5dismod xdebug
sudo service php5-fpm restart

To disable xdebug specifically for PHP-FPM:sudo php5dismod  -s fpm xdebug
sudo service php5-fpm restart
 

如果你在debian,ubuntu上面用php7的话,稍稍有些不同:

$ sudo phpdismod xdebug
$ sudo service php7.0-fpm restart

你可能感兴趣的:(Linux,php)