So that's the problem. I made a fresh install of PHP 5.2.4 Apache 2.2.6 and Mysql5.0.45.
I set the display_errors value to On in php.ini, but phpinfo() shows that display_errors is Off.
I have restarted the webserver and my computer but nothing changed. When I write a faulty script and run it from command line, it produces an error, but when run through apache, it gives no errors. The phpinfo() outputs the right php.ini filename, which I edited - so it's not reading a wrong php.ini file.
What could be the problem?
display_errors = On not showing up in phpinfo() [SOLVED]
Moderator: General Moderators
display_errors = On not showing up in phpinfo() [SOLVED]
Last edited by hardi on Sat Sep 15, 2007 3:54 am, edited 1 time in total.
SOLVED
there were 2 evaluations in php.ini both were display_errors = somevalue.
when setting the value, I searched for display_errors and changed it and expected it to change in phpinfo() too, but it didn't, because later in the file, there was another display_errors = Off and that pretty much nilled my effort.
when setting the value, I searched for display_errors and changed it and expected it to change in phpinfo() too, but it didn't, because later in the file, there was another display_errors = Off and that pretty much nilled my effort.