I have a Ubuntu server running Apache2 with PHP 5. In the php.ini I set display_errors = On
and error_reporting = E_ALL | E_STRICT
, but PHP is st
When you update the configuration in the php.ini file, you might have to restart apache. Try running apachectl restart
or apache2ctl restart
, or something like that.
Also, in you ini file, make sure you have display_errors = on, but only in a development environment, never in a production machine.
Also, the strictest error reporting is exactly what you have cited, E_ALL | E_STRICT
. You can find more information on error levels at the php docs.