![]() ![]() This will help narrow down what might be causing an issue. You can then re-enable them one by one, visiting your WordPress site each time. How to bulk disable WordPress plugins from the dashboard. Then select Deactivate from the Bulk Actions drop-down and click Apply. In your WordPress dashboard, under the Plugins screen, select all of your plugins. So you don’t have to worry about breaking anything. In this case, the easiest and quickest way to determine what might be causing it is to disable all of your third-party plugins and re-enable them one by one. If something is incompatible, such as a plugin or your theme, you might see a 500 error ( 501, 502, 503, 504, etc.) or white screen of death on the front-end of your site. The first thing you should do is simply browse and click around on your WordPress site to see if you notice anything broken. You should now have a staging site up and running on the latest version of PHP (or the version you want to switch to). (Suggested: Changing your PHP version can help you fix “The site is experiencing technical difficulties.” error in WordPress). You will receive a notification in the dashboard as soon as the change has been made. While the PHP version is being changed, you can navigate away from the above page, but some actions like cache management will be unavailable until the new engine has been activated. Your site visitors will not experience any downtime. At the end of the process, your PHP engine will be restarted, which may result in a couple of seconds of downtime for your WordPress backend only. This process may take up to three minutes. Click on the Modify PHP version button to confirm your choice. Once you select the PHP version you want, you’ll get a confirmation prompt. Selecting a PHP version in MyKinsta’s PHP Engine tool. If your site has problems, you can contact our Kinsta support team at any time. We recommend first testing with a version of PHP one step up from your current installation. If you want to test a new PHP version first, make sure your WordPress staging environment is selected, not your live environment. 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 for which you’d like to change the PHP version. 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. ![]() Creating a new site environment in MyKinsta.įrom here, follow the steps in our documentation for creating a Standard WordPress Stating Environment. Next, click on the environment selector next to the site name, and select the Create New Environment option. Click on the one for which you want to change the PHP version. In the MyKinsta dashboard, click on WordPress 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 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. Or, you can see the PHP version using the WordPress Site Health tool: Checking the PHP version in the WordPress site health tool. Not sure what version of PHP you’re running? You can check in the MyKinsta dashboard Tools menu. In addition, upgrading PHP generally results in a significant speed increase, as our PHP benchmark reports show.įor additional details, check out our article on supported PHP versions. 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 for updating the version of PHP running behind your site are security and speed. Why Update the PHP Version of Your WordPress Site? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |