This article is valid for cPanel/WHM
PHP is highly customizable and has many settings that our users can modify themselves. This article will advise you how to change PHP settings in your php.ini file. Sometimes it is necessary to modify certain values of php.ini, for an application to work correctly.
It is not allowed to change values directly in the php.ini file, but the user can include the changes they need in the .htaccess file, if this file does not exist, create it and include the code.
Example to enable Register_Globals in cPanel:
<IfModule mod_php.c>
php_value register_globals on
</IfModule>