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. With each version, we’ve seen increasing performance improvements over the previous version.įor additional details, check out our article on supported PHP versions. PHP 7.0 was a huge leap forward – more than doubling performance compared to 5.6. In addition, upgrading PHP produces a significant speed increase. Just as you upgrade WordPress itself to make sure you are protected against security vulnerabilities, you should do the same with PHP. The two main reasons are security and speed. Why Update the PHP Version of Your WordPress Site? This will allow you and our team to upgrade everyone before the holiday season (Black Friday, Cyber Monday, Christmas, etc.). Not only will we be adopting PHP’s official schedule, but as of 2020, the end-of-life for the oldest version of PHP on the Kinsta platform will always be November 1st. To make sure your WordPress sites are as fast and secure as possible, we have adopted the same schedule, which means that we will be removing unsupported versions of PHP when they reach end-of-life (EOL). Each new version is actively maintained for 2 years and receives an additional year of critical security updates. In fact, it’s shown to be 3x as fast in some configurations, as seen in our PHP benchmark reports.Īs you may have heard, PHP has moved to a predictable release schedule. We highly recommend PHP 8.1, or the latest version, 8.2, as it’s much faster, resource-friendly, and more secure than its predecessors. Currently, we support PHP 8.0, 8.1 and 8.2 for sites hosted on Kinsta. All Kinsta clients can easily update and or change PHP versions for each WordPress site individually within the MyKinsta dashboard.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |