How to change php variables values in my hosting account  Print this Article

This option is available in all shared cPanel hosting accounts.


This step by step is to change and manage the php variables in your hosting account, the changes will affect any script running in your hosting account. If you are looking to make changes specifically on certain or one directory to only affect the php scripts running on it, please check the other tutorial in our knowledgebase about how to manually change php variables in a directory.


1- Login in your cPanel at (replace with your real domain name)

2- Click in the "Select PHP version" Option/icon".

select php version

3- Click in the "Show PHP Settings" button/link. This let you modify many of the php variables in your php.ini for your account. Simply click in the variable current status and you will be able to modify it. Then "Apply" and "Save" the changes.

show php settings

Was this answer helpful?

Related Articles

Do you have mod_rewrite support?
Yes, we support mod_rewrite
Do you have Shell access?
Yes, we do provide Jail Shell access in our cPanel hosting plans. For security reasons you will...
How can i create an email forwarder without keeping a copy of the emails in the server?
If you wish create a forwarder without keeping a copy of the messages in the server, just create...
What is Softaculous Scripts Installer?
Softaculous is a cPanel Addon which let you install the most popular open source scripts and a...
How can i access cpanel or webmail if im behind a firewall?
cPanel already have an internal proxy that redirect you through the port 80 or 443 usually open...