I’m trying to get off PHP Deprecated logs for an old version of one CMS (SPIP 1.8.3).
I have been trying different things, and with mod_php, it can be done with using the “php value error_reporting = 22519” in the vhost configuration file in /etc/apache2/sites-available (I’m working with ubuntu 12.04 server).
So I try to do it with FCGID, I know, I read that “php value” can’t be passed in vhost configuration files, is it true ?
So should it be done by modify php5.fcgi in /home/…/domain/fcgi-bin ?
as other methods, php.ini, php code doesn’t work, it’s ok for some values (E_NOTICE) but not for (E_DEPRECATED)
It was an “external” function which is called in the CMS (added by me), with missing exclusion of E_deprecated.
So for those which use old version of Spip (1.8.3). If no external script :
Modifying the error_reporting in inc-version.php (or best, add them to the file mes_options.php3) with those values work : E_ALL & ~E_NOTICE & ~E_DEPRECATED.
Modifying those values in /home/$domain/etc/php5/php.ini works too.
If you use “external” scripts or function, do a verification to the function provider. If it’s one of your own script or function, verify with :