Apache não registra erros de ph

@PHP via CLI registra com êxito os erros em /var/log/php_errors.log

Mas apache + php não registra erro

[bla@notebook ~]$ apachectl -v
Server version: Apache/2.2.17 (Unix)
Server built:   May 19 2011 03:15:39

[bla@notebook ~]$ php -v
PHP 5.3.6 with Suhosin-Patch (cli) (built: Mar 23 2011 13:28:00) 
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

Dentro php.ini Eu tenho

display_errors = On
error_reporting = E_ALL | E_STRICT
log_errors = On
error_log = php_errors.log

Dentro httpd.conf:

ErrorLog "/var/log/httpd/error_log"

Permissions:

[bla@notebook /]$ ls -la /var/log/httpd/
-rwxrwxr-x 1 root root 133351 21.11.2011 11:18 access_log*
-rwxrwxr-x 1 root http   1307 21.11.2011 11:18 error_log*

[bla@notebook /]$ ls -la /var/log/php_errors.log 
-rwxrwxr-x 1 root http 521 14.11.2011 17:31 /var/log/php_errors.log*

Como você pode ver, o daemon Apache tem permissões para gravar em arquivos de lo

Ainda não há erros do Apache ou PHP em /var/log/php_errors.log e /var/log/httpd/error_log

UPDATE 1.

Alterou esta linha no php.ini:

error_log = php_errors.log 

para o caminho completo:

error_log = /var/log/php_errors.log 

Permissions estavam ok. Mas se alguém também estiver tendo problemas com isso, você poderá depurar as permissões de configuração do arquivo de log 0777 ou alterar o proprietário do arquiv

questionAnswers(6)

yourAnswerToTheQuestion