If you are using php-fpm should suffice:
sudo phpdismod xdebug sudo service php-fpm restart
Note that you will need to configure this depending on your version of PHP. For example, running php 7.0, you should do:
sudo phpdismod xdebug sudo service php7.0-fpm restart
Since you are using php-fpm, you do not need to restart the real web server. In any case, if you are not using fpm, you can simply restart your web server using any of the following commands:
sudo service apache2 restart sudo apache2ctl restart
Cyclonecode Mar 09 '18 at 13:14 2018-03-09 13:14
source share