Re: Php is not writing errors in logfile
| From: | Jacob Friis Saxberg | Date: | Wed, 05 Oct 2005 13:38:13 +0000 |
| Subject: | Re: Php is not writing errors in logfile | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223655@lists.php.net to get a copy of this message | ||
On 10/5/05, Stephen Leaf <smileaf@smileaf.org> wrote:
> On Wednesday 05 October 2005 08:16 am, Jacob Friis Saxberg 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
> sure PHP has write permissions to this file?
No, I guess Php have the same rights as apache, and if I put the
logfile in /var/log/httpd/php-errors.log it still doesn't work.
>
> >
> > Any idea what's wrong?
>