How to Update PHP version in WordPress Website | Change PHP version in cPanel
1. Check Your Current PHP Version
The first step is to check your current PHP version. You can do this by installing a plugin like Display PHP Version. This plugin will show you which version of PHP you are currently using.
2. Update PHP Version
Once you know what version of PHP you are using, you can start the process of updating it. You can either update it manually via your hosting control panel, or you can contact your host and ask them to update it for you.
3. Make Sure Your Theme and Plugins are Compatible
Before you update your PHP version, you need to make sure that your theme and plugins are compatible with the new version. You can do this by checking the changelogs of each plugin and theme. If it’s not compatible, you will need to find an alternative.
4. Backup Your Website
Before you make any changes to your website, you should always create a full backup. This will ensure that if anything goes wrong, you can easily restore your website to its former state.
5. Test Your Website
Once you’ve updated your PHP version and checked that your theme and plugins are compatible.