KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to not log notice errors, which are being written to an error log file on my server. I've tried (at the top of my index.php ): ini_set('display_errors', 0); error_reporting(E_ALL ^ E_NOTICE); But I'm still getting PHP notice errors in said error log file. I'm on a shared hosting environment, so I can't edit my php.ini file. phpinfo() tells me: - Version 5.2.12 - error_reporting 6143 - error_log error_log - safe_mode Off
Tags (comma-separated)
Save Edits
Cancel