Find answers to your questions

Documentation

How to choose a PHP version for your website

The PHP version should suit your application and receive appropriate security maintenance. An older version offered in an interface is not automatically the best choice for your website.

Before changing it

  • Check the requirements of your CMS, extensions and application code.
  • Prepare a recoverable backup of files and the database.
  • Test the intended version in a development environment where possible.
  • Record the current configuration and plan how to revert if the application fails.

Using MultiPHP Manager

When this tool is available for your account, open cPanel through your Client Area and find MultiPHP Manager. Select the affected domain, choose a suitable available version and apply the change.

Check whether the domain uses an explicit version or an inherited setting. Available versions and options depend on the service configuration.

Using CloudLinux PHP Selector

PHP Selector is a separate tool. Depending on configuration, its scope can include several sites in the account. Do not assume a change affects only the domain you have in mind. Confirm the applicable setting when several sites share the hosting account.

After the change

Check public pages, administration, forms and important features. Scheduled tasks may use a separate PHP executable and need their own verification. Review errors without leaving a public diagnostic file that exposes server configuration.

Give your PHP upgrade a clear purpose

Moving to a maintained version can prepare your website for future CMS and plugin updates. Include the functions your business relies on in your checks: enquiry forms, bookings, payments or connections to another tool. Our team can help clarify the hosting setting and compatibility points to review with your developer.

In your request, identify the CMS, important plugins, intended version and preferred date. Prepare the tests with our staging guide. If an older application needs adaptation, tell us about the modernization project so its steps can be defined.

References: MultiPHP, PHP Selector and supported PHP versions.

Related Articles

How to clear your computer’s DNS cache The DNS cache temporarily stores answers that connect domain names with network addresses. Clearing it can help when one device retains an old answer after a DNS change. It is not a general fix for HTTP 404 errors, expired certificates or a website outage. Check before changing anythingRecord the exact address and... What is cPanel and how do you access it? cPanel is the administration interface for your hosting account. It provides the tools available to that account without granting full server-administration access. Common toolsManage website files, domains and databases.Administer email accounts when mail is hosted within that service.Review storage and resource... How cPanel & WHM Improved Email Hosting cPanel and WHM have gone through some serious upgrades to their Email Hosting features throughout the versions. Just in the past 2 years, the cPanel team have made it easier than ever for web hosting providers, system administrators, and all other cPanel users to be able to host email accounts. Let's go over a few... CURL: could not resolve host: cpanel.net Error: curl: (6) Could not resolve host: securedownloads.cpanel.net; Unknown error Fix: Edit: nano -w /etc/resolv.conf Add the following lines: nameserver 8.8.8.8 nameserver 8.8.4.4 If you still have questions or concerns, feel free to contact us by opening a support ticket or with our online live chat feature. How can I activate my paid license after a trial? You can do this by running this command in SSH: /usr/local/cpanel/cpkeyclt It should look something like this: [root@cpanel home]# /usr/local/cpanel/cpkeyclt Updating cPanel license...Done. Update succeeded. Building global cache for cpanel...Done [root@cpanel home]# If you still have questions about activating your...