re: More Error Reporting Problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Floyd Resler <fresler@xxxxxxxxxxxxx>
> I'm still  having problems with error reporting and I'm not sure why.
> php.ini section:
> error_reporting = E_ALL & ~E_DEPRECATED
> display_errors = On
> log_errors = On
> error_log = /var/log/php_errors.log

> Errors are neither getting displayed nor recorded in my error log. 

Check that /var/log/php_errors.log exists and that the user that your
webserver is running as has permission to write to that file.  "touch
/var/log/php_errors.log && chown apache:apache /var/log/php_errors.log" as
root may work; modify user/group if necessary.  /var/log is always owned by
root and is 755, meaning that the webserver user doesn't have permission to
create that file if it doesn't exist.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux