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 Shell access?
Yes, we do provide Jail Shell access in our cPanel hosting plans. For security reasons you will...
How can i reset my cPanel password?
  1- Login to your Client Area at     2- Go to...
Wordpress plugin for LSCache management
If you have a Wordpress or Woocommerce site and you have enabled LSCache in your hosting account,...
Do you support HTTP/2 and QUIC?
Yes, we support HTTP/2 and QUIC in all our cPanel Shared Hosting accounts. Note although the web...
Zip files are being corrupted when you download them from the web site
This usually happens when you have the "Optimize Website" option enabled in cPanel.   When...