1 2 3 4 5 6 7 8 9 10 11 12 |
# Worked # in php files server root www directory ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); # in php.ini file display_errors = on // After RESET the web server |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<?php error_reporting( E_ALL ); ?> display_errors = On error reporting is set to the following in php.ini error_reporting = E_ALL | E_STRICT UPDATE 1: I have changed error_reporting in php.ini from: error_reporting = E_ALL & ~E_DEPRECATED to error_reporting = E_ALL | E_STRICT /etc/init.d/apache2 restart |