fearlex
4/19/2018 - 11:19 PM

Serverpilot disable display php errors server-wide

Serverpilot disable display php errors server-wide

echo 'display_errors = false' | sudo tee --append /etc/php5.4-sp/php.ini && echo 'display_errors = false' | sudo tee --append /etc/php5.5-sp/php.ini && echo 'display_errors = false' | sudo tee --append /etc/php5.6-sp/php.ini && echo 'display_errors = false' | sudo tee --append /etc/php7.0-sp/php.ini && echo 'display_errors = false' | sudo tee --append /etc/php7.1-sp/php.ini && cat /etc/php5.4-sp/php.ini && cat /etc/php5.5-sp/php.ini && cat /etc/php5.6-sp/php.ini && cat /etc/php7.0-sp/php.ini && cat /etc/php7.1-sp/php.ini && sudo service php5.4-fpm-sp restart && sudo service php5.5-fpm-sp restart && sudo service php5.6-fpm-sp restart && sudo service php7.0-fpm-sp restart && sudo service php7.1-fpm-sp restart