Skip to content

Instantly share code, notes, and snippets.

@Jinksi
Created July 5, 2017 23:30
Show Gist options
  • Save Jinksi/d9856f3a053ce7ff29e39d51d6941da0 to your computer and use it in GitHub Desktop.
Save Jinksi/d9856f3a053ce7ff29e39d51d6941da0 to your computer and use it in GitHub Desktop.
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
@Jinksi
Copy link
Author

Jinksi commented Aug 12, 2021

Good to see serverpilot is still going strong for you 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment