If you installed PHP 5.3, then you may have noticed many deprecated errors from older web apps and even current ones, like some drupal or joomla modules.
NOTICE: this is not a true fix, you could be ignoring critical errors by doing the following… but most likely you should be fine… though make sure you do not log errors, or your log files will quickly grow to an unmanageable size.
open php.ini (usually in /usr/local/lib/php.ini ):
1 2 3 4 |
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED ; change this to Off if you still get errors. display_errors = On log_errors = Off |
Also, some sites may be using their own .htaccess or error_reporting. Therefore you may need to go to affected ones and modify the .htaccess file and insert the following to disable PHP 5.3 .
You had to do this for really old web apps.
1 2 |
php_flag display_errors off php_flag log_errors off |
Final restart apache.
1 |
service httpd restart |
source: http://duntuk.com/how-disable-php-53-deprecated-errors