If you have a website hosted on a server running cPanel and need to change the PHP version, there are a few steps you can follow to do so. Changing the PHP version can help improve the performance and compatibility of your website with modern web development practices.
Here is a step-by-step guide on how to change the PHP version on your website hosted on a cPanel server:
- Step 1: Log in to cPanel
To begin, log in to cPanel using your login credentials provided by your hosting provider.
- Step 2: Navigate to MultiPHP Manager
Once logged in, navigate to the “MultiPHP Manager” icon, typically under the “Software” section of cPanel.
- Step 3: Select the desired PHP version
From the MultiPHP Manager page, select the desired PHP version you wish to use from the drop-down menu next to your domain name. You can also choose to apply the selected PHP version to subdomains by checking the corresponding box.
- Step 4: Save changes
After selecting the desired PHP version, click the “Apply” button to save the changes. You should receive a confirmation message indicating that the PHP version has been updated successfully.
- Step 5: Test your website
Finally, testing your website after changing the PHP version is essential to ensure everything works correctly. If you encounter any issues, you may need to switch to the previous PHP version or contact your hosting provider for assistance.
In conclusion, changing the PHP version of your website hosted on a cPanel server is a straightforward process that can help improve its performance and compatibility with modern web development practices. By following the above steps, you can change the PHP version on your website and enjoy the benefits of using the latest PHP version.