To see the PHP error normally we use error_reporting(E_ALL). If display errors are not On in php.ini, we can't see the errors. Here are the steps to enable errors in ini file.
display_errors = On
display_startup_errors = On
track_errors = On
html_errors = On
the above four properties should have value "On".
Don't forget to off in the production mode.
Comments
Post a Comment