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:
- Login to your cPanel
- Search for section
- Click on
Select PHP Versionoption
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.
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.