Hi,

I'm having a problem with using ini_set in my scripts. PHP just refuses to listen to whatever I set and only uses the values from php.ini

For instance, I have display errors 'On' in my php.ini, and have this line in my code:

ini_set('display_errors',0);

I make an error on purpose, but it still displays on screen.

If I turn it off in php.ini, then it no longer appears on screen. I set it to 1 in my script, but still won't show on screen.

Anyone ever experience this or know why PHP won't listen to my ini_set? I've also tried with various other options, same problem (like log_errors and error_log...)

PHP 4.3.8 running on FreeBSD 4.10-RELEASE with Apache 1.3.31

Thanks in advance.

    Write a Reply...