Symptoms
After upgrade PHP to 5.3, my website shows PHP error:
PHP Warning: Directive 'register_globals' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
Cause
Deprecated php directives are enabled in php.ini
Resolution
Open /etc/php.ini, domain php.ini file (/var/www/vhosts/system/domain.tld/etc/php.ini)
Make sure that PHP.ini does not contain information about deprecated directives:
register_globals = On register_long_arrays = On
If there are such lines, please delete or comment them as below:
;register_globals = On
;register_long_arrays = On