![how to update php 5.2 to 7.2 how to update php 5.2 to 7.2](https://www.netgate.net/wp-content/uploads/2018/03/php_selector_php.png)
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.
![how to update php 5.2 to 7.2 how to update php 5.2 to 7.2](https://content.hostgator.com/img/cpanel_select_php_version.png)
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 5.6. 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.
#HOW TO UPDATE PHP 5.2 TO 7.2 HOW TO#
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.
![how to update php 5.2 to 7.2 how to update php 5.2 to 7.2](https://support.plesk.com/hc/article_attachments/360006946919/Screenshot_2019-12-04_Tools_Settings_-_Plesk_Obsidian_18_0_21.png)
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.
#HOW TO UPDATE PHP 5.2 TO 7.2 UPGRADE#
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?