PDA

View Full Version : PHP error messages gone...


whocares
Nov 2, 2003, 12:53 AM
I installed Panther last week and installed Mark Lyianage's PHP package afterwoods. Since then the PHP error messages no longer appear when I have mistakes in my code; I'm just getting a plain white page. Does anyone know how I can fix this?

jywv8
Nov 2, 2003, 01:36 AM
You probably need to edit the php.ini file to change the error_reporting setting and/or the display_errors settings.

I usually set mine to:

display_errors = On
error_reporting = E_ALL & ~E_NOTICE


You can find more details on what these setttings mean on www.php.net, or there are usually explanatory comments in the php.ini file itself.

Rower_CPU
Nov 2, 2003, 05:18 PM
You can also configure error reporting on a per file basis.

http://us3.php.net/manual/en/function.error-reporting.php