Click to See Complete Forum and Search --> : PHP 5.0.4, i cant make it display errors!


sapoxgn
12-29-2005, 07:07 AM
I ve been working for 3 months now withou ANY errors, i just cant configure php to display errors on screen.

It logs the errors to the error_log file, but i just get a blank screen when something is wrong, my php.ini is kinda weird too, i just have the /etc/php.ini but when i set error_reporting and display erros, my phpinfo() displays this:

Directive - Local value - Master Value
display_errors - Off - On
error_reporting - 15 - 2039

I really dont have any ideas from WHERE it is getting the values, some other configs like register_globals on and off works, but the error stuff doesnt!

Any help is welcome, thanx.

devinemke
12-29-2005, 10:44 AM
the output from phpinfo is show you the exact path to your php.ini file. open your php.ini in any text editor and make sure the following are set:

error_reporting = E_ALL
display_errors = On

goldbug
12-29-2005, 11:18 AM
Also check your apache configuration and any .htaccess files--both display_errors and error_reporting can be set in php.ini, apache's httpd.conf, .htaccess files, and user scripts.

sapoxgn
12-29-2005, 11:22 AM
the output from phpinfo is show you the exact path to your php.ini file. open your php.ini in any text editor and make sure the following are set:

error_reporting = E_ALL
display_errors = On

I already did it, Configuration File (php.ini) Path /etc/php.ini

This is the file that i am editing, but still it doesnt show any errors :(