WordPress is used by 38.4% of all websites and that’s a big number.
There is no reason you shouldn’t upgrade your underline PHP version to latest. Here is more details on currently supported PHP versions from official site.
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.4, page speed increased to
~0.2 seconds. It’s amazing.
Migrating from PHP 5.6.x to PHP 7.4.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.4. Same options should be checked for it as above PHX 7.1 settings.
Just save settings and 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.
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.
How to upgrade PHP if you are on Kinsta Web hosting?
Crunchify is hosted at Kinsta web hosting. Kinsta has very simple PHP setting option.
- Select your site
- Click on Tools from left sidebar
- Choose PHP Engine
- Click on Modify
- And Select
Now wait for few minutes and you should be good to go.