Under PHP Engine click on the Modify button and select your preferred PHP version in the drop-down menu. To update your WordPress site’s PHP version, go to Sites and select the site you’d like to change the PHP version on. Step 2 – Update PHP Version for WordPress Caching is also disabled on staging, so please keep this in mind if you are trying to test performance. This is because your staging site uses a different URL. For example, if you’re using a third-party CDN, you might need to disable it for your site to render correctly. Make sure to also check out the important notes regarding staging environments. Create a WordPress staging environment in MyKinsta. Click on the Environment selector next to the site name, and select Staging from the drop-down menu, then click on the Create a staging environment button. Click on the one you’d like to add a staging area to (the site you want to update PHP versions on). In the MyKinsta dashboard, click on Sites in the left navigation. This is separate from your live environment and will allow you to test newer versions of PHP without breaking your live site. The very first thing you should do is create a staging site. However, we strongly recommend following all of the steps below though to ensure everything works properly.Įspecially if you’re running an older version, such as PHP 7.4. If you simply want to update the PHP version on your live WordPress environment right away, you can skip down to Step 5. Many of you shouldn’t experience any downtime, and there will be little work required.įor others, additional testing, troubleshooting, and even hiring a WordPress developer to make things compatible might be required. Today we’ll walk you through the steps on how to best test your WordPress site for compatibility before updating PHP versions. Our guide below contains step-by-step instructions on how to troubleshoot this. The culprit is likely to be a plugin or an active theme. Issues caused by updating PHP versions happen when code running on your site uses old functions that are no longer supported by newer versions of PHP. WordPress site health tool PHP version What If My Site Breaks? Or, if you’re running WordPress 5.0 or above, you can see the PHP version under the Site Health tool. Not sure what version of PHP you’re running? You can check in the MyKinsta dashboard Tools menu. Enjoy 4 months of free hosting with an annual WordPress plan.
0 Comments
Leave a Reply. |