Change PHP parameters

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>

  • cpanel, settings
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

SSL Certificates

What is an SSL certificate? An SSL...

Activate Domainkeys and SPF

This article is valid for WHM / cPanel To...

Add IP address to SPF records

When working with SPF records, you may need to add additional IP addresses to...

Addon Domains

An Additional Domain allows a new domain name to be linked to a subdirectory of your account. The...

Antispam System Operation

All our Shared Hosting servers (cPanel Reseller Plans and End Users) are now equipped with a...