PHP 5.2.5 Suddenly Logging Everything - Stumped~!

Support/Development for PHP
tungsten
Forum User
Forum User
Posts: 16
Joined: Thu Sep 29, 2005 11:11 pm

PHP 5.2.5 Suddenly Logging Everything - Stumped~!

Unread post by tungsten »

Hi All,

Here's an odd one that I'm hoping someone can shed some light on for me.

By default Plesk is set to log EVERYTHING. This is fine except for the fact that your log files can blow up pretty fast if you have a roughly coded PHP site for example. To trim out 1000s of lines an hour from some of our client sites, we have turned PHP error logging to skip NOTICEs. Our php.ini file is set as follows:

Code: Select all

error_reporting  =  E_ALL & ~E_NOTICE
This worked perfectly for a few months. Recently we have updated to PHP to 5.2.5 (ART's 4.el4.art package).

Now on 2 of our 85 domains, we are suddenly seeing NOTICES being logged again. I've checked the following for overriding values:
* httpd.include
* vhost.conf
* .htaccess
I've also double checked that /etc/php.ini wasn't modified during the latest update and it wasn't.

I'm at a loss trying to find what element changed. Is there an 2nd php.ini file somewhere that would be overriding /etc/php.ini? Digging around the server we have the following php.ini files:

Code: Select all

/usr/local/psa/admin/conf/php.ini.def
/usr/local/psa/admin/conf/php.ini
/usr/local/psa/tmp/hotfix-83080131.20/usr/local/psa/admin/conf/php.ini.def
/usr/local/psa/tmp/hotfix-83080131.20/usr/local/psa/admin/conf/php.ini
/usr/local/sitebuilder/etc/php.ini
/etc/php.ini.saved_by_psa
/etc/php.ini.rpmsave
/etc/php.ini.saved_by_
/etc/php.ini.rpmnew
/etc/php.ini.BAK12032008
/etc/php.ini
/opt/php52/etc/php.ini
/opt/php51/etc/php5/fastcgi/php.ini
/opt/php51/etc/php5/cli/php.ini
Are all the /usr/local/psa/ ini files ust for the PSA bakend? How about the /opt/ files? Are those for sitebuilder (wish you could stop the updates from putting that piece of crap back into the build everytime)?

Anyone have this happen before?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Probably someone is turning it on in a domain with php_admin_value. Once they do that it is immutable, and applies to everyone.
Post Reply