Re: Php is not writing errors in logfile
| From: | Jacob Friis Saxberg | Date: | Wed, 05 Oct 2005 13:44:45 +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-223656@lists.php.net to get a copy of this message | ||
On 10/5/05, Skippy <skippy@zuavra.net> wrote:
> Quoting Jacob Friis Saxberg <webcom.dk@gmail.com>:
>
> > 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?
>
> Maybe that's not the right php.ini. Look at phpinfo(). Or the user that the
> webserver runs as doesn't have the right to access the logfile.
According to phpinfo I am using the right php.ini
How can I check that the webserver have prober rights?