Re: Php is not writing errors in logfile

From: Date: Wed, 05 Oct 2005 13:47:09 +0000
Subject: Re: Php is not writing errors in logfile
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-223657@lists.php.net to get a copy of this message
On 10/5/05, Jacob Friis Saxberg <webcom.dk@gmail.com> wrote: > I have asked Php to log errors in a file but it doesn't. > > error_reporting = E_ALL > display_errors = Off > log_errors = On > error_log = /var/log/php-errors.log > > Any idea what's wrong? Sorry, this solved my problem: error_log = /var/log/httpd/php-error.log touch /var/log/httpd/php-error.log chown apache:apache /var/log/httpd/php-error.log Thanks for your time. Jacob

« previous php.general (#223657) next »