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
這篇文章有幫助嗎?

相關文章

How to Create a Full cPanel Backup

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

How to Install WordPress Manually Using cPanel

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

How to Create a Database in cPanel (MySQL Database)

1. From the home page of your HayHost client area, then click  "SERVICES".   2. In the "My...

How to Create a Subdomain in cPanel

This article will go over creating a Subdomain under your cPanel account. Log into cPanel on...