← Back to team overview

sslug-teknik team mailing list archive

Problemer med PHP error_log og Apache error_log

 

Hej,

Jeg har problemmer med at adskille PHP error logs væk fra apache
error_logs. Da "/var/log/httpd/php/error_log" er ejet af Apache (ifølge
http://dk2.php.net/manual/en/ref.errorfunc.php#ini.error-log) - jeg kan
fortsæt ikke få ønskede effekt.
Any ideas?


# php -i | grep error_log
error_log => /var/log/httpd/php/error_log => /var/log/httpd/php/error_log

# grep User /etc/httpd/conf/httpd.conf
User apache

# ls -laFh /var/log/httpd/php/error_log
-rw-rw-r--  1 apache apache 0 Jun 22 10:14 /var/log/httpd/php/error_log

# apachectl -v
Server version: Apache/2.0.54

# php -v
PHP 5.0.4 (cli) (built: Mar 16 2006 17:18:26)


MVH

/at


Follow ups