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.2, page speed increased to
~0.3 seconds like anything 🙂
Migrating from PHP 5.6.x to PHP 7.2.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.2 and click on
Set as current button.
NOTE:I’ve just upgraded to PHP 7.2. Same options should be checked for it as above PHX 7.1 settings.
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.2, I saw dramatic increase in page speed.
Join the Discussion
Share & leave us some comments on what you think about this topic or if you like to add something.