himuraz

Display Errors PHP 7.0

Dec 4th, 2017
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. sed -i "s/display_errors = Off/display_errors = On/g" /etc/php/7.0/apache2/php.ini && sed -i "s/display_errors = Off/display_errors = On/g" /etc/php/7.0/cli/php.ini && sed -i "s/error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT/error_reporting = E_ALL/g" /etc/php/7.0/apache2/php.ini && sed -i "s/error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT/error_reporting = E_ALL/g" /etc/php/7.0/cli/php.ini
Add Comment
Please, Sign In to add comment