Tuesday, January 11, 2005

[Tech] Try to Display PHP Error Message on a User Page

For debugging purpose, we can show error message on a user page, not only in error log file.
To do that, edit php.ini file and find a line with display_errors then set it to 'on', not 'off'. More info can be found in the php.ini itself or in the PHP manual.

No comments: