Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Tom on January 19, 2003, 07:32:11 PM

Title: PHP missing errors
Post by: Tom on January 19, 2003, 07:32:11 PM
I've just upgraded from 5.0 to 5.5.

When I were programming PHP in 5.0 I got feedback from the browser, when the script was run on the server, if errors on the page occoured. In 5.5 these errors are missing. Anybody know how to turn them on again?

If I've got an error in my PHP-script, I'm not told what the error is. I'm only getting a blanc page with absolutely nothing on it.
Title: Re: PHP missing errors
Post by: Nathan Fowler on January 19, 2003, 09:13:20 PM
In the file /etc/php.ini turn:

Display_Errors off

to

Display_Errors on

Then /etc/rc.d/init.d/httpd restart

Hope this helped.  If  PHP.INI is templated, which I believe it is, you'll need to create a custom template fragment.  See http://www.e-smith.org/custom for details, or search the forum if you are not sure how to do this.

Nathan