Introduction
Updating PHP on your server is an important task that ensures your website remains secure and compatible with the latest web technologies. PHP is the programming language that many websites, including WordPress, use to function. This guide will walk you through the process of updating PHP using cPanel. The steps are simple and designed for beginners with limited technical knowledge. If you run into any problems, our support team at AlpineHost is here to help at support@alpinehost.ch or info@alpinehost.ch.
1. Log into Your cPanel Account
The first step in updating PHP is to log into your cPanel account.
-
Access cPanel:
- Open your web browser and go to the cPanel login page. This is usually your domain name followed by “/cpanel” (e.g., www.yourdomain.com/cpanel).
- Enter your username and password, then click Log in.
2. Locate the "MultiPHP Manager"
The MultiPHP Manager in cPanel is where you can select and update the PHP version for your website.
-
Find MultiPHP Manager:
- Once logged into cPanel, scroll down to the Software section.
- Click on MultiPHP Manager.
3. Select the Domain to Update PHP
You will see a list of all the domains and subdomains hosted in your cPanel account.
-
Choose Your Domain:
- In the MultiPHP Manager, find the domain for which you want to update PHP.
- Check the box next to your domain name.
4. Update the PHP Version
Now you can update the PHP version for your selected domain.
-
Select the PHP Version:
- After selecting your domain, look for the PHP Version drop-down menu on the right.
- Click the drop-down menu and select the PHP version you wish to use. It’s recommended to choose the latest stable version available unless you have specific requirements.
-
Apply the Update:
- After selecting the new PHP version, click the Apply button to update your PHP version.
- cPanel will now update the PHP version for your selected domain.
5. Verify the Update
After updating PHP, it’s a good idea to verify that your website is functioning correctly.
-
Check Your Website:
- Visit your website to make sure everything is working as expected.
- If your website is not functioning properly, you may need to check compatibility issues with your website's theme or plugins.
-
Revert if Necessary:
- If you encounter problems, you can easily revert to the previous PHP version by following the same steps and selecting the old PHP version in the MultiPHP Manager.
6. Additional Configuration (If Needed)
Sometimes, you may need to adjust additional PHP settings for your website.
-
PHP INI Editor:
- In cPanel, under the Software section, click on MultiPHP INI Editor.
- Here, you can adjust settings like memory limit, upload size, and other PHP directives.
Contacting Support
If you encounter any issues or have questions about updating PHP, our support team is ready to help. Don’t hesitate to reach out to us at support@alpinehost.ch or info@alpinehost.ch.
Conclusion
Updating PHP in cPanel is a straightforward process that helps keep your website secure and running smoothly. By following the steps in this guide, you can easily update the PHP version for your website. If you need any assistance, AlpineHost’s support team is here to help you at every step.