Created
November 5, 2013 01:54
-
-
Save robwilkerson/7312564 to your computer and use it in GitHub Desktop.
Modify php.ini to turn on errors for debugging and disable the short open tag.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Show PHP errors | |
sed -i -r -e 's/short_open_tag = On/short_open_tag = Off/g' /etc/php5/fpm/php.ini | |
sed -i -r -e 's/error_reporting = E_ALL & ~E_DEPRECATED/error_reporting = E_ALL | E_STRICT/g' /etc/php5/fpm/php.ini | |
sed -i -r -e 's/display_errors = Off/display_errors = On/g' /etc/php5/fpm/php.ini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment