Error Reporting

Started on the old forum in January 2009 · view the original in the archive · old links redirect here

No replies · 316 views · started 17 years ago · 1 min read

alesh Lead · 604 posts #1

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

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

eeeeerrr....

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close