I turned on error logging in php.ini file.
error_log `/etc/httpd/logs/error_log`
error_reporting `22527`
I try triggering an error by using trigger_error() function. However, nothing gets written to the file. File is not even created. I'm guessing there are permission errors but how can I tell?