In this tutorial we are going for some simple steps which will help you load your WordPress site faster. Yeah, that’s right. My site was usually loading in ~0.7 seconds
and immediately after updating PHP version from PHP 5.6 to PHP 7.1
, page speed increased to ~0.3 seconds
like anything
Migrating from PHP 5.6.x to PHP 7.1.x Tips. Let’s get started:
Step-1
- Login to your cPanel
- Search for section
Software
- Click on
Select PHP Version
option
Step-2
By default, you may say PHP version 5.5 or 5.6
as your current PHP version
. WordPress recommend at-least version 7 or higher
for running any WordPress site. Take a look at detailed minimum WordPress requirements.
Step-3
If your current PHP version is 7.0+ then you are good else select version 7.1
and click on Set as current
button.
And you should be all good. Try cleaning your site cache.In my case, it’s WP Super Cache’s cached files. Surprisingly after moving to 7.1, I saw dramatic increase in page speed.
I hope this changing or updating your version of PHP for WordPress works well for you. Let me know your observations and feel free to share any issue you face.
The post How to Update WordPress PHP Version to 7.1 in cPanel for Better Site Performance? appeared first on Crunchify.
Author: App Shah