Posted by Skippy on 10/19/39 11:28
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
[Back to original message]
|