How to change PHP version in CPanel
In this post you’re going to learn how to change php version in CPanel and the different ways you can switch between different PHP versions from your naijawebhost Hosting Control panel.
Using an older version of PHP can have several negative impacts on a website:
- Security vulnerabilities: Older versions of PHP may contain security vulnerabilities that have been addressed in more recent versions. This leaves the website open to potential hacking and other security threats.
- Compatibility issues: Newer web technologies may not be supported in older versions of PHP, causing compatibility issues and potentially breaking parts of the website.
- Performance issues: Newer versions of PHP often include performance improvements, so using an older version can result in slower website performance.
- Lack of support: With the release of newer versions of PHP, support for older versions may be discontinued, leaving the website with no support if issues arise.
Overall, it is recommended to keep your PHP version up to date for the best website performance, security, and compatibility.
About the CPanel PHP version selector
cPanel PHP Version Selector is a feature in cPanel hosting control panel that allows users to easily switch between different versions of PHP for their website.
This feature allows users to choose the PHP version that best suits their website’s requirements and allows them to upgrade or downgrade their PHP version as needed.
With the PHP Version Selector, users can easily manage and configure PHP settings, such as setting the maximum upload file size or changing the memory limit.
This feature can be accessed through the cPanel dashboard, making it a convenient and user-friendly way to manage PHP on a website.
How to Change PHP Version in CPanel
First thing you need to do is to login to your naijawebhost CPanel and scroll down to the software section of the CPanel.
Scroll down to the software section in CPanel and click on “Select PHP Version“.
Next you’ll be redirected to the next page where you can change your PHP version.
in this page you’ll see the current php version and whether or not the cloudLinux PHP selector is enabled.
Click on the current PHP version and you’ll see a list of php versions available, by default your PHP version should be the latest version which is 8.1 but, in some cases, not.
To switch to a different php version just select the version you want to change to and click on “Set as current”.
Changing PHP version using the MultiPHP Manager
cPanel MultiPHP Manager is a feature in cPanel hosting control panel that enables users to manage multiple PHP versions for their websites.
This feature allows users to assign different PHP versions to individual domains or subdomains, giving them greater control and flexibility over their PHP environment.
The MultiPHP Manager can be accessed through the cPanel dashboard and allows users to easily switch between different PHP versions, as well as manage PHP extensions and settings.
This feature makes it possible to run multiple PHP applications on a single server, each with its own specific PHP version requirements. With the cPanel MultiPHP Manager, users can ensure that their websites are running optimally and are compatible with their desired PHP version, providing a seamless and hassle-free experience.
How to change PHP version using Multi php manager
With Cpanel one can change his/her PHP version using the MultiPHP manager as well.
To do this; Login to CPanel and scroll down to the software section of your control panel.
Unlike with the cloudlinux PHP version selector the multiphp manager allows you to carry advance functions like changing php version for single domains and even sub-domains.
To change to a different php version just click on the check box by the left side of the list of domains select the php version you want to change to and click on apply.