Showing errors on page instead of logging to error_log

Technus007

Member
Dec 20, 2008
15
0
51
Hello!

Some of my customers have an error_log file inside their /public_html directory with PHP errors logged.

How can I make those PHP errors to be displayed directly on the page (when viewing the page with the error thru browser), instead of logging them into error_log file?

Thanks!
 

Technus007

Member
Dec 20, 2008
15
0
51
Thanks for your reply!

The main reason of my problem is that I already have display_errors On in my PHP configuration (php.ini).

Here's PHPINFO for reference... phpinfo()
 

Technus007

Member
Dec 20, 2008
15
0
51
The phpinfo within that domain is showing me the same display_errors ON.
By the way, the file error_log that creates automatically in the user directories, is it logging all the PHP errors that been encountered during PHP page (code) loading, or it's logging only some kind of PHP errors, those, that are not displayed on the PHP page via browser while code loading?

Thanks!
 
Last edited: