If your 'Wordpress' website (Yoast SEO plugin) notifies that you should should update your PHP version to either 5.6 or to 7.0 or 7.1 how do you do this using your cPanel?
- Login to your web hosting providers cPanel (the back office adminstration center for your site)
- In the various sections on the home (fist page) there is one called 'SOFTWARE'. Choose the 'Select PHP Version' and here you can update to different PHP versions
Please note that different hosting packages, companies and future updates will display these pages differently.
Some CRM websites, WordPress or 3rd party software such as plugins may not work with the higher versions of PHP code. For example at the moment if you select the latest PHP versions (7.0 or 7.1) then these may break your hosted website.
If they do you can always change your PHP versions selected and update it to a more stable level, such as 5.6.
Sometimes your updated version of PHP may seem to work fine, your site loads, but other issues may be happening if the selection actually means a broken site. For example pages and posts may look to work but the actual written content may not be visible.
You should update your PHP version to either 5.6 or to 7.0 or 7.1
Your site could be faster and more secure with a newer PHP version.
Hey, we've noticed that you're running an outdated version of PHP. PHP is the programming language that WordPress and Yoast SEO are built on. The version that is currently used for your site is no longer supported. Newer versions of PHP are both faster and more secure. In fact, your version of PHP no longer receives security updates, which is why we're sending you this notice.
Hosts have the ability to update your PHP version, but sometimes they don't dare to do that because they're afraid they'll break your site.
To which version should I update?
You should update your PHP version to either 5.6 or to 7.0 or 7.1. On a normal WordPress site, switching to PHP 5.6 should never cause issues. We would however actually recommend you switch to PHP7. There are some plugins that are not ready for PHP7 though, so do some testing first. We have an article on how to test whether that's an option for you here. PHP7 is much faster than PHP 5.6. It's also the only PHP version still in active development and therefore the better option for your site in the long run.
Can't update? Ask your host!
If you cannot upgrade your PHP version yourself, you can send an email to your host. We have examples here. If they don't want to upgrade your PHP version, we would suggest you switch hosts. Have a look at one of our recommended WordPress hosting partners, they've all been vetted by our Yoast support team and provide all the features a modern host should provide.