Home  |  Linux  | Mysql  | PHP  | XML
From:Max Zimmermann Date:Sun Jan 17 12:47:42 2010
Subject:Notices flooding logs with fastcgi
Hello everybody,

I have chosen this list because my problem is related to one particular
style of php installation. At least I think so.

I'm running php 5.2.11 and plesk 9.2.3, php through fastCGI.

My problem is that, since error_log is unset, php passes on any errors
to the webserver (-handler). This fills up my logs with hundreds of
MBytes of Notices every day, even though error_reporting is set to 6135
(notices shouldn't be logged).
So error_reporting appears to be ignored when error_log is unset and php
is run through fastcgi. Any idea how I can fix that?
I unfortunately can't change error_log to the appropriate path, because
the fastcgi user doesn't have access to the log directory...

Here is an example log:
[Mon Oct 26 00:57:52 2009] [warn] mod_fcgid: stderr: PHP Notice:
Undefined offset: 1 in
/srv/www/vhosts/XXXX/httpdocs/x3/inc/shopstat_functions.inc.php on line 82

Thanks so much in advance,
--
Cheers,

Max


GNU/Linux - User #477672
PGP: 0x6C29B594
Navigate in group php.install at sever news.php.net
Previous Next


Your recent visits
php ssl connection timeout issue
mysqli
Re: [PHP] pear for fedora 11
Re: [PHP-INSTALL] error instant client PHP configure script
Re: [PHP-INSTALL] error instant client PHP configure script



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants