Is your WordPress dashboard warning you that your PHP is out of date or insecure? You'll need to update the version of PHP in your web hosting settings.
Follow these steps to update the PHP version your website is using:
- Log in cPanel
- Log in to this website if you're not already logged in by clicking on the Account button at the top right and selecting Login
- Now click on Services from the Main Menu and select My Services
- Select your cPanel web hosting
- Then from the Actions menu on the left click on Login To cPanel
- Once in cPanel scroll down to the Software section. Click on MultiPHP Manager
Make sure NOT to click on MultiPHP INI Editor - You will see a list of all of the websites under your account. Tick each one you want to update
Take note of the current version so you can switch back if needed. - Now from the drop-down on the right select the version of PHP you want to use.
For WordPress select the latest version available. - If the version of PHP appears twice you may have a choice between the ea-php or alt-php.
If you're not sure which to use, select the ea- version.
Then click on the Apply button - Your website has now been updated.
You can confirm this by checking the website list: - Now check your website still loads correctly and that the PHP WordPress warning has disappeared
- If your website is not working anymore make sure you have selected the correct version of PHP.
You can always switch back to the previous version if needed then upgrade all of your plug-ins, themes and WordPress itself and try again.