Hi guys,
I need to have all PHP errors logged to a file on my centOS box. I think I'm doing everything I'm supposed to. Here's my .htaccess file:
php_flag display_errors off php_flag log_errors On php_flag error_log /var/www/vhosts/hostname/logs/fo_errors.log
- In my php.ini, I have error_reporting=E_ALL set.
- Apache does parse .htaccess
/var/www/vhosts/hostname/logs/fo_errors.log
has owner set toapache:apache
and has write permissions.
I'm out of ideas.. can anyone help?
Thanks
EDIT:
Here's the correct .htaccess file:
php_flag display_errors off php_flag log_errors On php_value error_log /var/www/vhosts/hostname/logs/fo_errors.log