Re: Php is not writing errors in logfile
| From: | Skippy | Date: | Wed, 05 Oct 2005 13:32:19 +0000 |
| Subject: | Re: Php is not writing errors in logfile | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-223654@lists.php.net to get a copy of this message | ||
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.
--
Romanian Web Developers - http://ROWD.ORG