Forum Moderators: coopster
Onmy server when i run a script it is not showing any error, not syntex error or any other error just shows blank page if any error found.
I set some values in ini -
ini_set('log_errors','0');
ini_set('display_errors','1');
error_reporting(2047);
But still it is not showing errors just showing a blank page.
I checked php settings using phpinfo(). for display_errors property there are two values under local column it is on and under master column it is off.
Please help to solve this problem, i am not able to debug my pages. please help
vineet
php_value error_reporting 2047
php_value display_errors on
If your host is shared and running phpsuExec, you may well have to add the corresponding lines (or make sure they are not commented out)
error_reporting = E_ALL
display_errors = On
in a _local_ php.ini file. These will then override the settings in the global php.ini file (which you won't be able to change).
Contacting your host is the best bet.
[edited by: FalseDawn at 4:00 pm (utc) on Sep. 1, 2006]
I am using a shared server, and try to set values of config file using ini_set function,
ini_set('log_errors','0');
ini_set('display_errors','1');
error_reporting(2047);
But after that when i use phpinfo to see configuration it is showing display_error On for local and off for global.
i think this is making problem? how can i change global value of this.
vineet