Php – Apache2 PHP Notice errors logged

apache-2.2log-filesmod-fcgidPHP

My /var/log/apache2/error.log is filling up about 1GB per hour with PHP Notice errors.

I've tried adding this:
/apache2.conf

php_value error_log none

And in my /cgi/php.ini:

error_reporting = E_ERROR
display_errors = On
display_startup_errors = Off
log_errors = Off

PHP is running through fcgi.
Even though display errors is ON, it is NOT displaying errors.

Is there a seperate config file I should be editting?

OS: Ubuntu Linux 10.04
PHP: 5.3.2
Apache: 2.2.14

Best Answer

Check where DefaultInitEnv PHPRC= is pointing and change the logging in that configuration file. I think it should be /etc/php5/php.ini.