How To Update Php Version WordPress? (Best solution)

Simply login to your WP Engine dashboard and click on the PHP version next to your website. This will bring up a popup where you can choose to downgrade or upgrade the PHP version for your WordPress website. Don’t forget to click on the ‘Change PHP Version’ button to save your changes.


How do I update PHP to 7.4 in WordPress?

All other hosting plans

  1. Navigate to the Manage Domains page.
  2. Click the Edit link to the right of a domain.
  3. On the domain’s settings page, look under the Web Options section for the PHP version: You should upgrade to 7.4 or 8.0.

How do I update my version of PHP?

How do I upgrade to a newer version of PHP?

  1. Log in to your control panel.
  2. Click on the Advanced settings tile and then select PHP and database settings.
  3. Scroll down to Update PHP versions.
  4. Select the PHP version you want to switch to and click Save.

How do I upgrade to PHP 7?

The simplest way to upgrade to PHP 7 is by asking your hosting company to update it for your account. Of course, this means you’ll need to be working with a hosting company that supports PHP 7 in the first place. Some companies make it easier to upgrade to PHP 7 than others.

How do I update my version of WordPress?

First, log in to the admin area of your WordPress website and go to Dashboard » Updates page. You will see the notice that a new version of WordPress is available. Now you just need to click on the ‘Update Now’ button to initiate the update.

How do I update my WordPress version without cPanel?

Log into the control panel of your hosting provider. Under, the “Software” tab, click on Select PHP Version. On the next page, you will see the PHP version your web server is using. Now, click on the current PHP version and then select the latest version from the drop-down.

Which PHP version is best for WordPress?

PHP 7.4 will be supported through November 2022. Because PHP 7.4 is the lowest version that is still receiving security updates, you should update your site to at least PHP 7.4. However, running PHP 8.0 or 8.1 is ideal.

How do I upgrade PHP 5.6 to 7?

Go to your XAMPP installation directory and rename your old php directory with old version prefix like php to php_5_6_14. Now copy & paste the extracted new php folder to here. Next, open httpd-xampp. conf from XAMPP configuration.

How do I update PHP to 8?

Update PHP Version to PHP 8 In XAMPP On Windows

  1. Step 1 – Open XAMPP Control Panel. Open the XAMPP Control Panel as shown in Fig 1.
  2. Step 2 – Open Apache Config Panel.
  3. Step 3 – Open Config File.
  4. Step 4 – Update PHP Installation Path.
  5. Step 5 – Save Configuration and Start Apache.
  6. Step 6 – Verify PHP.

How do I upgrade PHP to 8?

How to upgrade Xampp from php 7 to php 8 in windows 10

  1. Extract php folder from the zip file.
  2. Place the php folder in the Xampp folder.
  3. Open the XAMPP Control Panel and click the config button.
  4. Click the Config Button next to apache.
  5. Save and restart Apache.
  6. Now Xampp is updated with PHP 8.

How do I update WordPress manually?

WordPress lets you update with the click of a button. You can launch the update by clicking the link in the new version banner (if it’s there) or by going to the Dashboard > Updates screen. Once you are on the “Update WordPress” page, click the button “Update Now” to start the process off.

How do I force WordPress to update?

To force automatic updates, you need to switch to Advanced tab under Update Options page and click on the ‘Force updates’ button. For more detailed instructions on updating WordPress plugins, please see our guide on how to better manage automatic WordPress updates.

How do I find my version of WordPress?

Log in to the WordPress administration dashboard and take a look at the bottom right of the home page. You’ll see the WordPress version displayed on the screen. The version of WordPress you’re running is displayed on every screen in the administration dashboard.

Get a faster, more secure website: update your PHP today

You have the ability to make your WordPress site faster and more secure, and you should! This page will explain why this is important to you, as well as how you can correct the situation.

Why PHP Matters To YouWhy PHP Matters To You

PHP is the scripting language on which WordPress is constructed, and the version of PHP used by your hosting company is determined at the server level. While you may be aware of the necessity of keeping WordPress, as well as your themes and plugins, up to date, you may not be aware that keeping PHP up to current is equally as crucial. Keeping PHP up to date has two major advantages: it is more secure and it is easier to maintain.

  • Because the most recent version of PHP is more efficient, your website will load faster. Upgrading to the most recent supported version (currently 7.4) will result in significant performance improvements
  • For earlier versions, speed improvements of up to 3 or 4 times can be achieved. Additionally, your website will be more secure. PHP, like WordPress, is maintained by a group of people called the PHP community. Because PHP is so widely used, it is a favorite target for hackers – although the most recent version will include the most up-to-date security protections. Older versions of PHP do not have this feature, therefore keeping your WordPress site up to date is crucial for security reasons.

There are also a number of supplementary benefits to consider:

  • Search engines will reward you for having a quicker WordPress website, which will result in you ranking better in search results. A quicker website will keep visitors better (they will leave if your website takes too long to load), increasing the effectiveness of your website. Hackers, as well as the costs and reputational harm associated with a hacked website, are better safeguarded against by having a more secure website.

These advantages are advantageous to you as well as to the visitors to your website. These are the reasons why you should upgrade PHP as soon as possible. This will be demonstrated in further detail in the following section. a b c d

Before you update your PHP versionBefore you update your PHP version

This section begins with a few cautionary statements, so don’t be alarmed! Before we get to the section where you upgrade your PHP version, we need to go over some background information, which is standard practice for most technical topics. We believe that updating your PHP version will not be a problem, but we cannot promise that it will not. The WordPress core is compatible with PHP versions as far back as 5.6.20 (we’re presently advocating version 7.4, so this is excellent backward compatibility!

Although they should be, and the most well-known or respectable ones almost definitely will be, we can’t promise it.

  • Create a backup of your website: if something goes wrong with your site, you will be able to restore it to the state it was in prior to the backup. Fortunately, there are several free backup plugins available
  • If you don’t already have a backup solution in place, consider using one of them. Reverting this backup will also require your web host to change the PHP version on their server to the current version (we’ll explain how to accomplish this later)
  • Install the latest version of WordPress, themes, and plugins: go to Updates from your WordPress Dashboard and click on Install All. You should be doing this on a regular basis regardless. When you’re finished, double-check that your website is functioning as planned. In order to check for PHP compatibility, install the PHP Compatibility Checker plugin, which will scan your themes and plugins for any potential problems. It is possible that this plugin will overlook things or signal false positives, but it will function in the vast majority of circumstances. To resolve any PHP compatibility concerns, contact the theme or plugin developer and request that they investigate the situation. If they are unable or unwilling to respond, seek for themes or plugins on that provide comparable functionality and use one of these instead

Follow these instructions, and you’ll be ready to upgrade the PHP version on your WordPress site – and get the benefits that come with it. If you have any problems or require assistance while doing this, you should contact a professional web developer, your hosting company, or the creators of the themes and plugins you are using. All of these people will be delighted to assist you in this situation. We can now go on to the final step, which is actually changing the PHP version of your website.

How to update your website’s PHP version for a faster, more secure websiteHow to update your website’s PHP version for a faster, more secure website

You are now prepared to upgrade the PHP version of your website! If you’ve done your due diligence and made backups, you’ll be in the greatest possible position to do the upgrade. Because your hosting provider configures the PHP version at the server level, upgrading PHP requires either engaging with your host’s settings or requesting that they do it for you. As a result, the specifics of how to do the update are dependent on your hosting company. Hosting providers have been invited to send instructions on how to upgrade your PHP version on their servers, and you can view a list of hosts that have provided advice here.

  • Here’s some sample text that you may use as a template: Greetings, Web Hosting Company!
  • I want to be certain that this is the case for the server where my WordPress website is hosted.
  • Thanks!
  • In the unusual event that something goes wrong and you need to restore your backup, contact your host and ask them to restore the prior version of PHP that was running on your computer.

After that, you may restore your backup. You should now have all of the information you require to make the necessary changes! Very good work! A website that is quicker, more secure, and has happier visitors will result from using the most up-to-date version of PHP. a b c d

Faster, more secure WordPress websites for allFaster, more secure WordPress websites for all

Ensuring that you are using the most up-to-date version of PHP will guarantee that your website is both fast and safe. After reading this article, you should have all the knowledge you need to upgrade to the most recent version of PHP, and you should also know how to update in the future. In the future, keep an eye out for PHP update notices in your WordPress Dashboard or keep a watch on the news from your hosting company for further information. Final reminder: if you have any extra questions, you should contact your hosting company, a professional web developer, or the makers of your theme and/or plugin.

Thank you for contributing to making the internet a better place!

How to Update the PHP Version of Your WordPress Site (Why You Should)

All Kinsta clients have the ability to simply upgrade and/or modify the PHP versions for each WordPress site independently from inside the MyKinsta administration panel. At this time, we only support PHP versions 7.4 and 8.0 for sites hosted on Kinsta. PHP 7.4 or the most recent version 8.0 is strongly recommended since it is significantly quicker, more resource-friendly, and more secure than its predecessors. In fact, according to our PHP benchmark results, it has been demonstrated to be three times as quick in some setups.

You might be interested:  What Is Lightbox Wordpress? (Perfect answer)

Each new version is actively maintained for two years, and it receives an extra year of essential security updates during that time period as well.

Furthermore, starting in 2020, the end-of-life date for the oldest version of PHP running on the Kinsta platform will always be November 1st, following the official PHP timeline.

Why Update the PHP Version of Your WordPress Site?

The two most important factors are security and speed. Similar to how you should update WordPress itself in order to ensure that you are protected from security issues, you should do the same with PHP. Furthermore, updating PHP results in a huge gain in performance. PHP 7.0 was a significant improvement over PHP 5.6, with performance more than tripling when compared to the previous version. The performance of each new edition has improved in comparison to the preceding version, and this trend has continued.

Unsure about the PHP version that you’re running on your server?

Alternatively, if you’re using WordPress 5.0 or above, you can get the PHP version in the Site Healthtool.

What If My Site Breaks?

When you update PHP versions, you may have problems because the code running on your site makes use of obsolete functions that are no longer supported by newer versions of PHP.

A plugin or a theme that is currently active is most likely to blame. Our step-by-step tutorial below will walk you through the process of troubleshooting this issue.

How to Update PHP Versions in WordPress

Today, we’ll guide you through the process of testing your WordPress site for compatibility prior to changing PHP versions in the most efficient manner. Many of you should not suffer any downtime, and you should only have to complete a little amount of work. Others may require further testing, debugging, and even the employment of a WordPress developer in order to make everything work properly and be compatible. The next step can be skipped if you simply wish to upgrade the PHP version on your live WordPress installation straight away.

It’s especially important if you’re using an earlier version of PHP, such as PHP 5.6.

  1. Create a staging site
  2. Switch to a different PHP engine
  3. Test the site, plugins, and theme
  4. Publish the staging site to the live site
  5. And update the PHP on the live site.

Step 1 – Create a Staging Site

A staging site should be established as the very first step. The fact that this environment is separate from your live environment means that you can test newer versions of PHP without worrying about disrupting your live site. Sites may be accessed from the MyKinsta dashboard by selecting it from the left menu. You will see a list of the sites that you have created. Select the one to which you’d want to add a staging area by clicking on it (the site you want to update PHP versions on). Create a staging environment by clicking on theEnvironmentsselector next to the site name, selectingStagingfrom the drop-down menu, and then clicking on theCreate a staging environmentbutton.

Make careful to read the critical points about staging settings as well as the rest of the document.

This is due to the fact that your staging site has a different URL.

Step 2 – Update PHP Version for WordPress

To change the PHP version of your WordPress site, navigate to Sites and choose the site that you’d like to make the change to. Then select the Toolstab from the drop-down menu. UnderPHP Engine, click on the Modify button and then choose the PHP version you like from the drop-down menu that appears. To test a new PHP version first, make sure that your WordPress staging environment is chosen rather than your live environment in the WordPress settings. We recommend that you start using PHP 8.0 for your initial testing.

  1. In MyKinsta, you may change the PHP version.
  2. In order to validate your selection, click on theModify PHP versionbutton.
  3. It is possible that this process will take up to 3 minutes.
  4. There will be no downtime for your website’s visitors.

The dashboard will display a notification as soon as the modification has been made and you will be notified by email. If you are facing “The site is having technical issues.” errors with WordPress, it is recommended that you upgrade your PHP version.

Step 3 – Test Your Site, Plugins, Theme

The staging site should now be up and running on the most recent version of PHP, which you should have immediately (or the version you want to switch to). The first thing you should do is just browse and click about on your WordPress site to see if you can find anything that appears to be incorrect. The front-end of your site may display a 500 error (501, 502, 503, 504, etc.) or a white screen of death if something is incompatible, such as a plugin or your theme. In this instance, disabling all of your third-party plugins and re-enabling them one by one is the most straightforward and fastest method of determining what could be causing the problem.

  1. As a result, you won’t have to be concerned about breaking anything.
  2. Then, from the drop-down menu, selectDeactivate and then clickApply.
  3. This will assist in narrowing down the possibilities of what is causing the problem.
  4. No issue, have a look at how to disable plugins through FTP for more information.
  5. You can temporarily revert to the default WordPress theme, such as the Twenty Nineteen theme, if you want to look more professional.

View Log Files in MyKinsta

Perhaps you have identified the plugin or theme that is causing the problem, but you are unsure of the reason. It is at this point that your WordPress error logs may be really useful. Simply navigate to one of your WordPress sites and click on the Error Logs link on the right-hand side of the screen.

Want to know how we increased our traffic over 1000%?

Join over 20,000 other people who receive our monthly email, which contains insider WordPress advice! Now is the time to subscribe. You may view the files in your error.log, kinsta-cache-perf.log, and access.log directories if you have them. By default, it will only display the past 1,000 lines of text. You may scroll over the last 20,000 lines by dragging the slider across the screen. PHP errors may be viewed in MyKinsta. It is important to note that the MyKinsta logs tool does not provide debug information.

View Raw Log Files via SFTP

If you use SFTP, you may see the logs in their original form under /logs/. SFTP access to the WordPress error logs folder

Tail Your Log Files via SSH

Using SSH, you can keep track of the logs while you experiment on your site. Essentially, this means that you can see the log change in real time while testing. SSH access is included with all of Kinsta’s hosting services.

Display the past 500 lines of text tail -n 500 /Keep an eye on the file in real time Keep an eye on your error log file as it updates in real time. tail -f / tail -f WP-CLI may also be a useful tool for those of you who have SSH access to your server.

Enable Debug Mode in MyKinsta

It is possible to enable WordPress debug mode directly from the MyKinsta dashboard for Kinsta users. Simply visit to SitesToolsWordPress Debugging and click theEnablebutton to turn on WordPress debugging. This will allow you to observe PHP errors and alerts without the need to activate debug mode through SSH or SFTP, which will save you time. Debug mode has been enabled in MyKinsta. When our self-healing PHP functionality detects a problem, it automatically restarts PHP to resolve the problem.

PHP should be restarted on the MyKinsta dashboard.

Enable Debug Logging in WordPress

If you don’t have access to SSH or MyKinsta, you may always enableebug logging in WordPress to work around the problem. To begin, you’ll need to establish an SFTP connection to your site. Then you should download yourwp-config.php so that you may modify it. Download the wp-config.php configuration file. Find the line that says/* That’s all, don’t make any further changes! Good luck with your blogging. */, and immediately before it, insert the following (as seen below): define(‘WP DEBUG’, true); define(‘WP DEBUG LOG’, true); define(‘WP DEBUG DISPLAY’, false); define(‘WP DEBUG LOG DISPLAY’, false); define(‘WP DEBUG DISPLAY’, false); define(‘WP DEBUG LOG DISPLAY’, false); define(‘WP DEBUG DISPLAY WordPress debug logging should be enabled.

This will activate debug mode and display everything in the /wp-content/debug.logfile in your WordPress installation.

Please remember to turn it off after you’re finished, since these files may grow to be rather large very soon.

Confused as to What to Look For?

Because there are many of plugins and themes available, it’s hard for us to include all of the issues that you could encounter here. Typically, they occur as a result of code (functions, syntax, and so on) that is incompatible with the version of PHP that you are now running. However, here’s an example of something you could encounter in the future. 500: Unforgivable blunder: Error that went unnoticed: It is intended that a semicolon (‘;’) be used here. The following line is found in / /plugins/bbpress-shortcodes/ bbpress-shortcodes.php:177 As you can see in the example above, it’s rather simple to determine that the bbPress Shortcodes plugin is the source of the problem.

If such is the case, the following is what we recommend:

  1. If you haven’t already, be sure to update your plugins and themes to the most recent versions. Contact the plugin or theme’s developer and request that they add or correct support for PHP 7.4 (or the current version of PHP that you are currently running). We’re doing this to give you a heads-up before the phase-out dates, for a variety of reasons. Find a replacement plugin that can provide the same functionality while also being compatible with the PHP version in use. Engage the services of a WordPress developer to resolve the problem
  2. Change the PHP engine on your website to a lower version and see whether the plugin or theme works then. If this is the case, you may be able to use a less recent version of PHP until the developer upgrades their code. However, we do not advocate this because PHP 8.0 is more efficient and will be supported for a longer length of time. However, if there is something that you really must run and it only works with PHP 7.4, you may be forced to resort to this method of operation.

Step 4 – Push Staging to Live

Depending on whether you needed to make any changes to your plugins or themes after finishing PHP testing, you may either push your staging site into production mode, or make the same modifications to your live site as you did to your staging site. Some of you may discover that you need to make significant modifications to your staging environment in order to get the site functioning on a newer version of PHP. In that situation, taking use of the push to live option will save you a significant amount of time.

Then click thePush Staging to Livebutton to bring the show to life.

Make the WordPress staging environment live by pressing the “Publish” button. Please feel free to contact our support staff at any time of day or night if you have any questions or concerns about changing the PHP version on your WordPress site.

Step 5 – Update PHP on Your Live Site

It’s now possible to upgrade the version of PHP on your live site, exactly as you did in Step 2 of this procedure (ToolsPHP EngineModifyselect your preferred PHP version). Save time and money while improving the overall speed of your site by implementing:

  • Instant assistance from WordPress hosting professionals, available 24 hours a day, seven days a week
  • Integration of Cloudflare Enterprise Edition
  • With 29 data centers across the world, you can access a global audience. Application Performance Monitoring (APM) is embedded into our platform, allowing for optimization.

That and much more is included in a single plan that includes no long-term obligations, aided migrations, and a 30-day money-back guarantee, among other things. Check out our options or speak with a sales representative to select the plan that is suitable for you.

How To Update PHP Version in WordPress – 2 Easy Steps – FixRunner

If you are not using the most recent version of PHP, your WordPress website’s load time will be significantly reduced. According to studies, any website that takes more than 6 seconds to load will be abandoned by 53 percent of the individuals who visit it when it first loads. That’s a significant amount of money! It is for this reason that you must understand how to upgrade PHP in WordPress. Improve the performance of your website by updating the PHP version that is currently in use on your website.

WordPress PHP has just been updated, and we’ll demonstrate how to do it in this post.


  1. Getting Started with WordPress and PHP
  2. The Advantages of Updating to the Most Recent Version
  3. What to Do Before Updating
  • Creating a backup of your site, updating plugins and themes, and checking for compatibility are all recommended.
  • PHP version should be updated in cPanel (or any other control panel)
  • Make contact with your web hosting provider.
  1. In the event that updating PHP causes your website to malfunction
  2. Conclusion

PHP and WordPress

Do WordPress-based websites make use of PHP? This is a question that a lot of newcomers have. The answer is a resounding yes! PHP is a server-side programming language that was used to create WordPress. Since its inception, WordPress has gone through a number of iterations, which includes the addition of PHP. What this implies is that if you try to run the latest version of WordPress on an older PHP version, you are quite likely to experience difficulties with the software.

Update the PHP To The Latest Version – Benefits

1. Increased Safety and Security PHP is a programming language that is free and open-source. WordPress, like many other open source projects, is free to use. As a result, they are extremely popular — and hence a possible target for hackers. Upgrading to the most recent version of PHP is essential if you want to keep your website safe from hackers. This is not to claim that previous versions, such as PHP version 5, are wholly devoid of security measures; rather, it is to state that they are not safe enough to keep a determined hacker at bay.

Increased Loading Speed While there are a variety of ways you may take to increase the load speed of your website, upgrading to the most recent PHP version is one that is certain to boost performance.


Having a speedier website means having a higher rating in search results, an enhanced user experience, and more sales!

What to do Before Updating PHP

Before you update PHP, there are a few things you need do.

Backup Your Site

It is usually recommended to build a backup of your WordPress site before making any changes.

When it comes to upgrading the PHP version of your WordPress website, the same principles apply. Here are two primary reasons why it is critical to create a backup before updating to the most recent version of PHP.

  1. WordPress themes and plugins are also developed in the PHP programming language. In the event that any of your plugins or your theme is poorly written, there will be incompatibility difficulties when the upgrade is applied. It is possible that anything will go wrong during the update procedure. An example of this would be the loss of an internet connection. Even though the problem appears to be modest, it has the potential to have devastating consequences in some instances.
You might be interested:  What Does Wordpress Do? (Best solution)

Before making any changes to your website, make a backup copy of it to ensure that none of these potential problems occur. It’s a piece of cake!

Update plugins and themes

There is a possibility that your plugins and themes will not be compatible with the most recent version of PHP available. To avoid this from happening, you should make sure that all of your WordPress plugins and themes are up to date. To do so, go to your WordPress dashboard and log in. After that, navigate toDashboardUpdates. Install any/all of the available updates from from point on.

Check PHP Compatibility

Now that you have the most recent versions of plugins and themes, you must verify them for compatibility with your website using the PHP Compatibility Checkerplugin. To learn how to install WordPress plugins, please refer to this page. Following the activation of the plugin, navigate to ToolsPHP Compatibility. Following that, choose the most recent version of PHP. You have the option of scanning only currently running plugins/themes or scanning everything. Finally, click on theScan sitebutton.

It checks for and discovers any incompatibility issues that may exist between PHP and your plugins/themes and recommends solutions.

Note:At the time of writing this post, the plugin only searches for PHP versions up to and including 7.3.

See this tutorial to discover how to set up a staging environment for your WordPress website.

How to Update the PHP Version of your Website

The two most common methods for doing so are via the management panel of your website (in this case, cPanel) and by contacting your web hosting provider.

1. Update PHP version in Cpanel (or Any Other Control Panel)

Log into the control panel provided by your web hosting company. Select the PHP version from the “Software” tab, which may be found under the “Software” menu. The PHP version that is being used by your web server will be displayed on the following page. Now, choose the most recent PHP version from the drop-down menu after clicking on the current PHP version. Finally, select Set as Current from the drop-down menu. You have completed your task!

2. Contact Your Host Provider

Not all control panels operate in the same fashion. If you were unable to locate the option for upgrading PHP on your dashboard, you should contact your hosting provider. They will either do it for you or offer you with instructions on how to do it.

What if the PHP Update Breaks my Site?

Alternatively, if you have any difficulties while updating your PHP version, you may always restore the most recent backup you created. This is why we recommend that you create a backup of your site at the beginning of the process. But if your website is not loading after the upgrade, it might be because of a conflict between your plugin or theme and the update itself. It occurs when some of the functions on your plugin are created using an older version of PHP than the one that is currently in use.

In the case of plugins, deactivate all of them and see whether your site returns.

To identify the malfunctioning plugin, begin by activating each of your plugins one by one.

The plugin that you enabled right before your site went down is almost certainly to blame.

If your website is still not loading at this point, you may want to consider switching back to an older PHP version for your WordPress site. After that, you should contact your hosting company or engage an expert to assist you in updating the PHP version of your WordPress websites.

What Next After Updating PHP in WordPress?

Ensure that, after you have updated your PHP, you also upgrade WordPress to the most recent version. You should also make sure that your themes and plugins are up to date to avoid compatibility issues. Finally, go to your website and double-check that everything is functioning properly. The technological landscape is always evolving. Every day, there is a new version of something to download. WordPress and PHP, both of which are incredibly popular website resources, receive frequent upgrades that ensure that your site is functioning at peak performance.

More Resources:

  • Two methods are available for removing query strings from static resources. How to Transfer a WordPress Site to a New Domain
  • A Complete Guide to Creating a WordPress Multisite Network

Continue reading these useful articles:

A Guide to Updating Your PHP Version in WordPress

If you use WordPress, you are also utilizing the PHP programming language. PHP is the programming language that underpins this Content Management System (CMS), and it has an impact on everything from the security of your site to its performance. As a result, it is critical that you use the most recent version of the software. Upgrades to the latest PHP version in WordPress are a quick and straightforward procedure, thanks to the WordPress upgrader. Once you’ve determined which version of the software you’re presently running, you may take the appropriate steps to bring it up to date if necessary.

Afterwards, we’ll guide you through the process of checking your current version and updating it using cPanel and other hosting providers.

The importance of using an updated PHP version

PHP is the programming language used by WordPress. As a result, the version of your site that you are using might have an impact on a variety of different aspects of your site, from performance to security. Keep your WordPress Core, plugins, and themes up to date is just as crucial for the overall health of your website as it is for the health of your website. WordPress currently needs that you use PHP 7.4 or above to function properly. The most recent significant, stable upgrade, on the other hand, is version 8.0.

Numerous WordPress hosting automate the updating of PHP for the sites hosted on their servers.

However, it’s best not to make the assumption that this is the case.

You should be aware that the most recent version of PHP may produce a conflict or incompatibility issue on your website from time to time.

If this occurs, you will have two options: locate an alternative plugin or roll back your site to an earlier version of the software. As a result, we strongly advise that you create a backup of your site before making any modifications to it.

How to check your current PHP version in WordPress

Fortunately, determining which PHP version is presently being used by your WordPress website is a straightforward and straightforward process. This may be done immediately from your administration dashboard. To get started, go to ToolsSite Health: Site Auditing. On theSite Healthscreen, you can find a multitude of information on the health of your website. Among the proposed changes are the removal of inactive plugins and themes, among other suggestions. Then select the Infotab from the drop-down menu: Click on the Serversection link under this tab to see it in in detail: As you can see in the picture above, you can discover a plethora of information about your server in this section.

How to update your PHP version in WordPress

Now that you’ve learned how to determine your current PHP version, it’s time to talk about how to upgrade your PHP version. The procedure for doing so will be heavily influenced by your hosting provider and the resources they make available to you. Let’s start by looking at how to upgrade your PHP version in WordPress using the cPanel control panel interface. This is the most typical control panel that WordPress web servers give their customers.

How to update PHP in cPanel

If your hosting company makes use of cPanel, you may easily upgrade the PHP version of WordPress in a few simple steps. Log into your hosting account and click to the cPanel section to get started with the process. Next, navigate to theSoftwaresection and select the PHP Version: Select PHP Version: On the following screen, you can see what PHP version you are now running: By selecting a different PHP version from the drop-down menu, you may make a change to your website’s configuration. For example, the hosting company mentioned above has options that include PHP versions up to and including 8.0.

After you’ve chosen the version you want, you may click on the button labeled “Set as current:” Once you click on that link, all of your changes will be stored for you automatically.

That’s all there is to it!

How to update PHP on other hosting providers

What if your web hosting provider does not utilize cPanel as its control panel? If that’s the case, there’s a good chance that you can still upgrade your PHP version with relative ease using the command line. Even if it makes use of a bespoke dashboard, your hosting company will normally give a “Site Tools” section or anything along those lines as a standard feature. As an example, if you are a customer of SiteGround, you may access Site Tools in theWebsitestab section of your hosting control panel: To modify your PHP version, you may go to the DevelopersPHP Manager page, which is as follows: To access the Softwaresection of your dashboard if you are using Bluehost, head to the Advancedtab of your dashboard and then to the Softwaresection.

You should also keep in mind that somemanaged web servers, such asWP Engine, will automatically update your PHP version for you. If you’re not sure whether this is the case or where to go for the settings you want, we recommend getting in touch with your host directly for clarification.


PHP is the major programming language used by WordPress, and it plays an important role in the performance and security of your site. There are, however, just a few different versions accessible at any particular point in time. It is critical to verify that you are using the most recent version in order to achieve best performance. The Site Health section of your WordPress admin dashboard, as we’ve mentioned, will quickly reveal the version of PHP you’re currently running. If you need to update your server, you may typically do it using your cPanel interface.

Do you have any queries on how to update the PHP version in your WordPress installation?

Image courtesy of Pixels.

How to Check and Update Your WordPress PHP Version (2022)

The content on Themeisle is completely free. When you make a purchase after clicking on one of our referral links, we receive a commission. Read on to find out more PHP is the major programming language used by WordPress, and it plays an important role in the security and performance of your site. Consequently, if you are not using the most recent WordPress PHP version, you may be causing performance issues on your site. The good news is that updating to the most recent version isn’t a time-consuming or complicated procedure.

The majority of the time, all it needs is a few basic preparation activities before you can do it in a matter of clicks.

Afterwards, we’ll show you how to determine your current WordPress PHP version and lead you through the process of upgrading it if it’s necessary.

Table of contents:

  • A brief introduction to WordPress and PHP
  • How and why it’s critical to use the most recent PHP version
  • How to determine the PHP version of your WordPress installation
  • Instructions on how to upgrade the PHP version of your WordPress website

An overview of WordPress and PHP

PHP, which was first introduced in 1990, is one of the most popular and frequently used programming languages today. Inasmuch as PHP is the major programming language on which WordPress is based, the link between PHP and WordPress is critical. This implies that if you use WordPress, you will also be using PHP to run the website. Because WordPress is created using PHP, it has an impact on many of the features and functionality of the content management system (CMS). PHP is a server-side programming language, which means it is executed on the server that hosts your website.

Consequently, if something goes wrong with your PHP, it might have an impact on the appearance and functionality of your website.

Why it’s important to update WordPress to the latest PHP version

WordPress site security and loading speed are two of the most important reasons to update to the most recent PHP version available. Given the fact that PHP is now utilized by approximately 80 percent of all websites, it is a popular target for cyber criminals. WordPress updates for the Core software, as well as your plugins and themes, should be performed on a regular basis as part of your website’s overall upkeep. This can assist you in avoiding security issues and safeguarding your information.

This is due to the fact that each new version published helps to increase performance by reducing memory utilization and, in general, helps to improve the overall efficiency of operating activities.

However, not all of them, including PHP 5.5, PHP 7.0, and PHP 7.1, are now receiving active support.

We recommend that you upgrade to the most recent stable release of PHP, which is presently PHP 8.0, in order to achieve the best results.

If nothing else, you’ll want to make sure you’re still running a PHP version that receives active support and/or security updates, which you can verify on this page: PHP version support and security updates As of September 2021, the PHP support timeframes are as follows:

How to check your current WordPress PHP version

Checking the PHP version your WordPress site is presently running is a good practice before updating the PHP version on your WordPress site itself. You may not even need to bother about this if your hosting company automatically upgrades PHP to the most recent version for you. To determine the PHP version of your WordPress installation, log into your admin dashboard and select ToolsSite Health: PHP Version. In the Site Health dashboard, you can discover some information and statistics regarding the health and state of your website.

To find out what PHP version you have installed on your WordPress site, go to the Infotab and then the Serverpanel: You’ll discover a slew of information about your server here, including the PHP version number.

However, just because WordPress presently supports your current version of the software does not imply that it is the best version to be running on your computer.

We’ll lead you through the process in the next section.

How to update the PHP version of your WordPress site

Now that we’ve gained a better understanding of the need of updating your WordPress PHP version, it’s time to look at the steps involved. However, there are a few things that we recommend you do before getting started.

You might be interested:  How To Create Your Own Theme For Wordpress? (TOP 5 Tips)

Before getting started

First and foremost, it is critical to remember to back up your website. If something goes wrong during the update process, you’ll want to be able to restore your site to a recent version of its code. For example, a plugin may, on occasion, be incompatible with the most recent version of the PHP programming language. This means you’ll most likely want to roll back to an earlier version of WordPress until the plugin is updated or you find an appropriate substitute. We also recommend that you make sure that all of the components of your WordPress site, including the core, themes, and plugins, are all up to date.

The quickest and most efficient method is to navigate to your WordPress admin dashboard and then click on UpdatesunderDashboard: If there are any available updates, you will be notified via the screen below.

As previously said, the procedure for accomplishing this will vary depending on your hosting provider.

Updating your PHP version in cPanel

It should be a simple and quick procedure to update your PHP version if your hosting provider makes use of the cPanel control panel. To begin, enter into the management panel for your web hosting account. Next, scroll to theSoftwaresection and choose the PHP Version: Select PHP Version from the drop-down menu: On the following screen, you will notice your website’s current PHP version at the top, which will be as follows: When you click on the current version, you will be presented with a list of all the PHP versions that are currently available.

Of course, not all web hosting companies make use of cPanel. There are many companies who have their own bespoke dashboards and site tools that need actions that are comparable yet somewhat different.

Updating your PHP version using SiteGround’s Site Tools

If you are using SiteGround as your hosting provider, the procedure may differ somewhat. First, go into your hosting account to get things started. Then, browse to theWebsitestab and choose Site Tools from the drop-down menu: Upon logging into your Site Tools area, navigate to theDevssection on the left-hand side menu and then click on PHP Manager: This will take you to the PHP Manager page. On the following screen, you can see what PHP version you are now running: In this case, SiteGround provides a Managed PHP Service, which is updated on an automatic basis.

Both PHP 7.4.23 and PHP 8.0.10 are viable solutions in this scenario.

Updating your PHP version via MyKinsta

Kinsta is another well-known hosting service that uses a somewhat different strategy than the others. If you’re already a Kinsta customer, you’re already aware that the host has developed its own unique control panel, known as MyKinsta. To get started, go onto your MyKinsta dashboard and select Sites from the drop-down menu. Afterwards, click on the name of your live site, which is followed by theToolstab: You may scroll down to the PHP enginetool, which is located under this panel. As you can see, it will display the PHP version that is currently in use (which is PHP 7.4, in this case).

  1. When you do, a dropdown list will show with the available versions that you may choose from, including the following: As soon as you make a new selection, you will be prompted to confirm that you wish to alter the PHP version used.
  2. Take care not to close the browser window before the process is complete to prevent producing issues.
  3. It is important to note that, regardless of the hosting service you choose, the main concept and method will be substantially the same.
  4. It is recommended that you contact your hosting provider to inquire about the criteria and process for doing so if you are unable to locate an opportunity to do so through your hosting account.

What to do after you’ve updated your WordPress PHP version

Once you’ve completed the process of changing your PHP version, there’s not much further to do. We do, however, urge that you double-check your website to ensure that everything is functioning properly. You may go to the front end of your website and search for any evident flaws or mistakes that have occurred. After making sure that everything appears to be working properly, you may go on to the back end of your website. While it is rare, there are occasions in which changing your PHP version might cause your website to become inaccessible to visitors.

If this does happen, you’ll want to figure out what’s causing the problem as soon as possible.

Afterwards, you may try activating each of your plugins individually in order to try to pinpoint the source of the problem.

It is recommended that you contact your hosting provider if this does not resolve the issue. In rare circumstances, you may need to downgrade your PHP version to the version that was in use before your site became inoperable.


To ensure that your users have a speedy and safe experience, it is critical that you keep up with site maintenance as soon as possible after you launch your website. One of these responsibilities is to perform frequent updates, which may include PHP upgrades. If you’re using an older version of PHP, you might be degrading the performance and security of your website. It was previously discussed in this post that you can quickly verify your current PHP version by going to the Site Healthsection of your WordPress dashboard.

Some providers provide cPanel or Site Tools that allow you to upgrade your account on your own, while others need you to contact them in order to make a request.

Do you have any queries regarding upgrading the PHP version of your WordPress site?

Free guide

Guide is available for free download.

How to update PHP Versions In WordPress (e.g. PHP 7.4)

Updating PHP versions is one of the most straightforward methods of increasing the speed of your website. Using WordPress, you can upgrade PHP versions by logging into your hosting account and finding the PHP version management (or similar). Upgrade to the most recent PHP version (for example, PHP 7.4) and check your site for issues. In fact, according to Kinsta’s PHP benchmarks, PHP 7.4 was almost three times quicker than PHP 5.6. Since installing new PHP versions is as simple as signing into your hosting account and clicking a few of buttons, there’s no excuse for WordPress users to continue to utilize an old PHP version, as many of them do.

  • Improves the performance of your site
  • Makes WordPress more secure
  • Allows for more effective error handling. In order for WordPress to function properly, PHP 7.3 or above is recommended
  • WooCommerce requires PHP 7.2 or higher.

In accordance with WordPress statistics, approximately 50% of WordPress users are still using PHP 7.0 or lower:

1. Check Your Current PHP Version

The most convenient place to find out what PHP version you are running is in your hosting account. Locate the PHP version manager (or something similar) and determine the version of PHP you are running. You may also make use of the Display PHP Version plugin, which is as follows: Alternatively, Query Monitor: Alternatively, you may use WP Health:Plugins To Check Your Current PHP Version.

  • The following plugins are available: PHP Version Display, Query Monitor, WP Health, Yoast (through notification), SG Optimizer (for SiteGround), and more.

2. Update WordPress Core, Themes, Plugins

Before updating PHP versions, make sure that everything in WordPress is up to date to minimise the likelihood of issues. You may also wish to make a backup of your site and review the PHP advice provided by WordPress.

3. Run PHP Compatibility Checker

PHP Compatibility Checkers examines your plugins to determine whether or not they are compatible with the most recent PHP versions. However, the plugin does not have positive ratings, and there have been several incidents of websites being crashed and the scan “stalling out” and failing to complete properly. Make use of it at your own peril.

4. Update PHP Versions In Your Hosting Account

It may be necessary to upgrade PHP versions in a slightly different way depending on the server you are using.

However, for the most majority of hosts, you will log into your hosting account, navigate to the Software or Programming area, locate the PHP version management, and then update to the most recent PHP version available (now PHP 7.4). Using SiteGround, here’s how to upgrade PHP versions.

  • Depending on the web server you’re using, the process of upgrading PHP versions may change. However, for the majority of servers, you will need to log into your hosting account, navigate to the Software or Programming area, locate the PHP version management, and then update to the most recent PHP version available (now PHP 7.4). Instructions for Upgrading PHP Versions on SiteGround

Instructions for Performing a SiteGround PHP Upgrade On Cloudways, how can I upgrade the PHP version?

  • To pick a server, go to the Server tab and select it. Navigate to the Server ManagementSettingsPackages folder. Choose the PHP version to which you want to update
  • And then click OK.

Instructions for upgrading the PHP version of Cloudways Changing PHP Versions on Bluehost

  • Log in to your Bluehost account. Select Advanced from the drop-down option on the left. MultiPHP Manager may be found by searching for it. Examine the domain name for which you wish to modify the PHP version
  • To change the PHP version, go to the top-right of the page and select “PHP Version,” then click APPLY.

Instructions for upgrading the PHP version on Bluehost Using HostGator, you can easily upgrade your PHP versions.

  1. Log in to your cPanel account. In the Software section, select PHP Configuration from the drop-down menu. Choose the directory for which you want to upgrade the PHP versions
  2. Then click Next. Choose the PHP version to which you want to update
  3. And then click OK.

Instructions for upgrading the PHP version on HostGator On WP Engine, how can I upgrade the PHP version?

  • Log in to the User Portal and select Sites from the drop-down menu. Identify the environment that you want to change
  • Navigate to the PHP version, click on it, and then choose the new PHP version

Instructions for Upgrading the PHP on WP Engine Instructions for Upgrading PHP Versions on GoDaddy

  1. Access your GoDaddy account by logging in. To manage your web hosting, go to the Web Hosting tab and choose Manage. Select Programming Languages from the More drop-down menu. Choose the PHP version to which you want to update
  2. And then click OK.

Instructions for Upgrading the PHP on GoDaddy Instructions for Upgrading PHP Versions on A2 Hosting

  • Instructions for upgrading the PHP version on Using A2 Hosting, you may upgrade your PHP version.

Instructions for Upgrading the PHP on A2 Hosting On Namecheap, how can I upgrade the PHP version?

  • Log in to your cPanel account. Visit PHP Tweaks, which is only available to Namecheap customers. If you want to upgrade to a newer PHP version, use the PHP Version drop-down menu.

Instructions for Performing a Namecheap PHP Upgrade Instructions for Upgrading PHP Versions on DreamHost

  • Navigate to the Manage Domains page. “Edit” may be found under the web hosting section. Choose the PHP version to which you want to update
  • And then click OK.

Instructions for Upgrading the PHP on DreamHost

5. Check Your WordPress Site For Visible Errors

Instructions for DreamHost PHP Upgrade

6. Revert To An Earlier PHP Version If Necessary

There is a good chance that you are utilizing incompatible plugins if you are experiencing issues when updating PHP versions. You either locate and delete the offending plugin, or you must replace it with a plugin that is compatible. For the incompatible plugin to remain functional, you will need to downgrade to a previous PHP version. To do so, simply follow the same procedures as for upgrading PHP, but select an earlier version of the language.

7. Choose A Host That Stays Current With PHP Versions

Some web providers are more responsive than others in terms of releasing updated PHP versions. For example, GoDaddy and Bluehost were late in releasing PHP 7.2, and their customers weren’t pleased with the delay in releasing the software. In fact, some GoDaddy customers were required to purchase a completely new plan in order to upgrade their PHP versions. Opt for a hosting company that is quick to release updated PHP versions. Fortunately, most servers are considerably better about delivering updated PHP versions these days, but this wasn’t always the case.

8. Keep Your PHP Version Updated

When a new PHP version is released, hosting firms will typically publish a Facebook post, a blog article, or even send out a newsletter to inform their customers (and they will usually run a Facebook ad). This is the most reliable method of staying up to date because various hosting companies release new PHP versions at different times. As an added bonus, some hosts include a reminder in their control panel. Alternately, use one of the plugins from step 1 to keep an eye on your PHP version. Displaying the PHP version is perhaps the simplest option.

Frequently Asked Questions

Log into your hosting account and look for the section where you may increase your PHP version, then do so. The instructions for your unique hosting provider should be found by performing a fast Google search.

Is PHP 7.4 faster than previous versions?

Yes, modern PHP versions are far quicker than older versions. PHP 7.0 was the version that saw the greatest substantial (recent) gain in performance. Check out Kinsta’s PHP benchmarks to discover how different PHP versions compare in terms of performance.

Should I backup my website beforehand?

The answer is yes; newer PHP versions perform far better than older versions.

The greatest substantial (recent) boost in performance was achieved with PHP 7.0. Kinsta’s PHP benchmarks may be used to analyze how different PHP versions compare in terms of performance.

Are my plugins compatible with PHP 7.4?

If plugins are incompatible with a newer PHP version, you will most likely encounter apparent problems on your website; nonetheless, it is important to verify the plugin’s page to ensure that they are compatible.

What if my hosting doesn’t support PHP 7.4?

Some hosting companies are more responsive than others in terms of releasing updated PHP versions. Compared to other hosts, SiteGround, Cloudways, and WP Engine are more responsive when it comes to delivering updated versions of their WordPress software. If your host is sluggish in releasing new PHP versions, consider switching to a host that is more proactive in keeping their technology up to date.

Make Your WordPress Site Load Even Faster

The identical strategies I used to get perfect GTmetrix scores are included in an excellent article on how to fix a sluggish WordPress site, which you can see here. From configuring the finest caching plugins to optimizing images, external scripts, and lowering server response times, this guide will teach you all you need to know. While upgrading PHP versions in WordPress is a fantastic start, there are a plethora of additional aspects that influence performance. The lazy src property is used in conjunction with the lazy method and the lazy attributes srcdoc and src.

Leave a Comment

Your email address will not be published. Required fields are marked *