How to Change PHP Version on cPanel Hosting

HayHost Hosting servers support multiple versions of PHP. There are two options for changing the PHP version.

 

1. To change the PHP version used for your account, follow these steps:

  • Log in to cPanel.
  • On the Tools page, in the Software section, click "Select PHP Version",
  • cPanel displays the current PHP version. To change the PHP version, in the Current PHP Version list box, select the version that you want to use, and then click "Apply". The new PHP version takes effect immediately.

 

2. Changing PHP settings and extensions:

  • In addition to changing the PHP version from cPanel, you can change various PHP settings,
  • You can enable and disable PHP extensions, as well as configuration directives such as allow_url_fopen, error_log, and many more.

 

3. On the Extensions tab, select which extensions you want to enable for the current PHP version:

  • To enable an extension, select the check box next to the extension name,
  • To disable an extension, clear the check box next to the extension name,

  • Selections are saved automatically.

 

4. To change settings for the current PHP version:

  • Near the top of the page, click the "Options" tab,
  • Click the value next to the setting that you want to modify,
  • Depending on the type of setting, a list box may appear with predefined settings that you can choose. or a text box may appear so you can type the value:

 

NOTICE: Changes are saved automatically and take effect immediately.

  • php, cpanel
  • 142 Users Found This Useful
Was this answer helpful?

Related Articles

How to Unblock IP Address in Server Firewall

If your IP address was blocked by mistake, you can easily unblock your IP address from the...

How to Create a Full cPanel Backup

1. From the home page of your HayHost client area, navigate to the "Your Active...

How to Deploy/Host your React App on Shared Hosting in cPanel

1. Purchase a Domain and Hosting To host a website and you plan to host your React app, first,...

How to Install WordPress Manually Using cPanel

1. From the home page of your HayHost client area, navigate to the "Your Active...