PHP 5.0.4, i cant make it display errors!

liunx

Guest
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.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 = OnAlso 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.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 :(
 
Back
Top