Error Reporting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Error Reporting

    Hi there, recently i turned off all error reporting at my site for the security reasons

    Code:
    error_reporting(0);
    but i encountered with a problem...

    i had a sql error and i couldnt see it (u guessing why lol)

    so now i would like that all errors are reported only to php_errors.log, but i couldnt make it

    i put php_flag error_log /home/someone/logs/php_errors.log in the .htaccess file but then i get 500 ERROR (i think its 500)

    so how can i have ALL error_reporting OFF but that those erros are writing in php_errors.log??

    thanx in advance
    sigpiceeeeerrr....
Working...
X