re: More Error Reporting Problems

From: Date: Fri, 30 Dec 2011 16:05:57 +0000
Subject: re: More Error Reporting Problems
Groups: php.general 
Request: Send a blank email to php-general+get-316133@lists.php.net to get a copy of this message
From: Floyd Resler <fresler@adex-intl.com> > 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

« previous php.general (#316133) next »