Posted by Jacob Friis Saxberg on 10/16/29 11:28
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
Navigation:
[Reply to this message]
|