How To Update WordPress Php?

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?

Navigate to the Manage Domains page. Click the Edit link to the right of a domain. 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.

Will updating PHP affect my WordPress site?

WordPress itself and most popular WordPress plugins will not be affected by PHP update. If a plugin on your site has stopped working due to a PHP update, then you need to contact the plugin author for support or find an alternative.

How do I upgrade PHP 5.6 to 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 PHP on WordPress Linux?

For Ubuntu and Debian-based servers, type sudo apt-get install software-properties-common && sudo add-apt-repository ppa:ondrej/php && sudo apt update && sudo apt install phpx. x to install PHP, replacing x.x with the latest available version of PHP (for instance, php7. 4).

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.

How do I fix my broken WordPress site after updating PHP?

How do I fix my broken WordPress site after updating PHP?

  1. Step 1 – Deactivate all plugins from phpMyAdmin.
  2. Step 2 – Change the theme to a default version.
  3. Step 3 – Log into WordPress admin.
  4. Step 4 – Update WordPress, plugins and themes.
  5. Step 5 – Activate the plugins and theme again.

How do I upgrade PHP on Windows?

Type “PHP ” in the Search Window at the top-right of the Web Platform Installer. Select the version of PHP that you wish to install and click “Add” and “Install”. Make sure to select the 64-bit or 32-bit, depending on your server environment. You’ve now successfully upgraded your PHP installation.

How do I update PHP in WordPress Bluehost?

Updating PHP Version

  1. Locate the Software section, then click on the MultiPHP Manager icon.
  2. Select the version of PHP you would like to use; 7.0, 7.1, 7.2, or 7.3.
  3. Click Save Changes or Apply to finish the update.

How do I update PHP version on Linux server?

Upgrading or Downgrading PHP Versions

  1. Ensure the php packages for the version you want are installed.
  2. Update any configuration for that PHP version.
  3. Update your web server configuration to point to the correct PHP version.
  4. Point PHP CLI to the correct PHP version.
  5. Restart your web server and php-fpm.

Is updating PHP risky?

Outdated PHP versions, such as those prior to 7.1, are considered end-of-life and are no longer patched. Known security vulnerabilities for these versions exist, and applications using them may be at risk. The number of security vulnerabilities tends to increase as the version ages.

Do I need to update my PHP?

One of the most important reasons to update PHP is to ensure you are running on a version that is fully supported and patched regularly for security vulnerabilities. PHP 5.4 has not been patched since 2015. And PHP 5.5 has not been patched since 2016.

Is it safe to update PHP?

While it’s not common, there are instances when updating your PHP version could cause your site to break. This is why we recommend safely backing up your site before updating. However, if this does happen, you’ll want to get to the source of the issue.

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

You have the ability to make your WordPress site quicker and more secure, and you should! This website will explain why this is important to you, as well as how you may 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.

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.

You might be interested:  How To Add Tabs In Wordpress? (Best solution)

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.

  • In MyKinsta, you may change the PHP version.
  • In order to validate your selection, click on theModify PHP versionbutton.
  • It is possible that this process will take up to 3 minutes.
  • 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.

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 test 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 active plugins/themes or scanning everything. Finally, click on theScan sitebutton. The plugin will take care of the rest.

If there is a problem, you can either uninstall the plugin and look for an alternative, or you can contact the plugin developer to have the problem resolved.

If you need to ensure that your update is compatible with PHP 8 and higher, we recommend that you test it on a staging environment before deploying it to your production website.

Now that you’ve seen the advantages of upgrading to the most recent version of PHP and, hopefully, have backed up your website, let’s walk through the process of updating your PHP version.

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.

You might be interested:  What Is Wordpress Developer? (Solution found)

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:

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

  • Log in to your cPanel account. Select PHP Version from the Software drop-down menu. Choose the PHP version to which you want to update
  • And then click OK.

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

Check a few pages on your WordPress site for evident faults once you’ve upgraded the PHP versions on your server. If you don’t notice any issues, make sure you’re running the most recent PHP version. Otherwise, you’ll have to figure out what’s wrong.

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?

It’s a nice idea, however you can typically roll back to a previous version without a problem if you want to.

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.

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.

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.

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.

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. Once you’ve made your selection, you can save your changes by clicking on theConfirmbutton.

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).

  • 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.
  • Take care not to close the browser window before the process is complete to prevent producing issues.
  • It is important to note that, regardless of the hosting service you choose, the main concept and method will be substantially the same.
  • 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.
You might be interested:  How To Install Wordpress Plugins Manually? (TOP 5 Tips)

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.

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.

You may learn more about different methods to deal with WordPress and PHP by reading our tutorial on how to integrate PHP into WordPress. Do you have any queries regarding upgrading the PHP version of your WordPress site? Please share your thoughts in the comments box below!

Free guide

Guide is available for free download.

How To Update PHP Version On A WordPress Site ? (Beginner’s Guide)

Is it your intention to upgrade the PHP version on your WordPress site, but you’re not sure where to begin? WordPress has made it possible for almost anybody, regardless of technical ability, to construct a website without having to know how to code. Despite this, your WordPress site is constructed using programming languages such as PHP. You do not need to be familiar with PHP in order to run the website, but you must make certain that you are running the most recent version. This is due to the fact that hackers use older versions of PHP to get access to websites.

  • Google will quickly blacklist your WordPress site and your web provider will suspend your account if your site is hacked while using the WordPress blogging platform.
  • In this post, we’ll teach you how to determine which version of WordPress is being used on your website and how to upgrade it.
  • You must upgrade your PHP version as soon as possible.
  • It will also prevent any hackers from assaulting your website in the first place.

What Is PHP On A WordPress Site?

Every website is constructed with code. Despite the fact that you never see it, it has a significant impact on the aesthetic and functionality of a website. While there are various other programming languages available, WordPress makes use of a mix of four key programming languages:

  • HTML and CSS are declarative programming languages that operate in web browsers, respectively. They are in charge of the visual look of a website, such as the layout and graphics on your website
  • Javascript and PHP are computer languages that are run on web servers. A website’s dynamic features and activities, such as call-to-action buttons and navigation menus, are controlled by the server-side scripts.

PHP is the most widely used programming language for web development by a wide margin. The WordPress core, as well as the majority of its themes and plugins, are developed mostly in PHP. You might think of it as the heart of the WordPress platform. What is PHP and why do you need to be concerned about it on your website? PHP is a programming language that runs on your web server, as we explained. This implies that you are responsible for resolving any issues with the site’s performance that are caused by PHP.

It won’t make a difference, none of it will.

Why Do You Need To Update Your PHP Version?

Keep your PHP version up to date for three key reasons: security, performance, and compatibility.

1. Security

PHP is a programming language that is free and open-source. This implies that anybody may contribute to the evolution of the language by modifying, improving, or otherwise enhancing it. The programming language is also incredibly popular, with millions of developers throughout the world employing it. PHP is a desirable target for hackers because of both of these criteria. Developers respond fast if a vulnerability is discovered in the language and release a new version of the language to address the issue.

When you upgrade the PHP version on your site, the vulnerability will be eliminated, and your site will be secure as a result of this.

This is not to suggest that previous versions of the software were without security features. Just as importantly, it is insufficiently secure to keep your site safe from a determined hacker.

2. Speed and Performance

PHP developers, on the other hand, are always striving to improve and extend the language. It is their practice to release new versions that include updates and new features. Once you have upgraded to the new version, you will notice an increase in the loading speed of your site as well as an improvement in the overall performance.

3. Search Engine Optimization

According to statistics, 40 percent of visitors will abandon a website if it takes more than 3 seconds to load completely. Furthermore, Google has included page load time as one of its ranking considerations. You may find out why your website is taking so long to load by clicking here. Certain PHP changes will allow your site to load more quickly. As a result, your website will be able to retain more of its visitors. This will result in a higher ranking in search results, a better user experience, and an increase in conversions and revenues in the future.

4. Compatibility

WordPress is constantly upgrading its core code and releasing new versions on a regular basis. It is also the responsibility of plugins and themes to guarantee that their software is compatible with WordPress. The same ideas apply to PHP as they do to any other programming language. WordPress, plugins, and themes all employ the most recent versions of the PHP programming language, which is always improving and being upgraded. You will notice that plugins and themes will become incompatible if you do not upgrade your PHP.

With a clear grasp of why upgrading PHP is so critical to your website, we can go on to checking what version of PHP is currently running on your site.

How To Check PHP Version In WordPress?

It’s critical to determine the PHP version you’re presently running before updating to the most recent version available on the market. This is due to the fact that upgrading PHP can occasionally result in incompatibility difficulties, particularly if you haven’t updated it in a long time. It has the potential to cause plugins and themes to malfunction or cease to operate on your website at times. We’ll show you two techniques for determining what version of PHP is being used by your WordPress site.

1. Using cPanel

Step 1: Log into your web hosting account and navigate to the cPanel. Step 2: You should be able to discover a section titled “Software” here. You’ll see the option to ‘Select PHP Version’. You will be transported to a new page where you can see what PHP version your WordPress site is operating on after clicking this link. In the event that this feature is not accessible in your hosting account, we propose that you install a plugin instead.

2. Using a WordPress Plugin

Step 1: You may install a plugin named ‘Display PHP Version’, which will display the current PHP version. It’s available for download from the WordPress repository. The second step is to go to your WordPress dashboard and click on HomeAt a Glance on the left-hand navigation bar. Step 3:From here, you can check what version of PHP is being used by your website. At the time of writing this article, PHP 7.4 is the most recent version of the language that is currently available. The PHP version shown in the image above is rather old, as can be seen in the screenshot.

Since then, there have been four significant revisions that have gone unnoticed by the public.

Updating your website from version 5.6 to version 7.4 immediately may cause your site to fail or malfunction. Do not fear, we will show you how to upgrade your WordPress site in a secure manner and without encountering any problems.

Steps To Take Before Updating Your PHP Version

We mentioned how updating the PHP version can cause your website to break or malfunction. To prevent this from happening, we strongly recommend taking these measures before updating your PHP version.

1. Take a backup of your WordPress site

Before you update your PHP version, make a complete backup of your WordPress site and then restore it. If something goes wrong, you may simply restore your website to its previous state. It is possible to create a backup of your complete site in as little as a few minutes by using the BlogVaultbackup plugin. All you have to do is add your website to the BlogVault dashboard and it will automatically create a backup of your site. It also allows you to restore your website with a simple click and is assured to function properly at all times.

2. Update WordPress

Always check that your WordPress core installation is the most recent version to guarantee that there are no difficulties while updating your PHP code. If you are operating on an outdated version of WordPress and you upgrade to the most recent PHP version, it is possible that incompatibility issues can arise, rendering your site inaccessible. Navigate to the WordPress dashboard. If a new version of the software is available, you will be prompted as seen in the image above. To update your software, click on the Update Now button.

3. Check your plugins and themes

We propose that you log into your WordPress dashboard and look through the list of plugins and themes that you have installed. If there are any updates that have not been completed, we recommend that you do them first. This is due to the possibility that some plugins will become incompatible with the latest version of PHP. We recommend that you do the PHP upgrade first, and then enable your plugins one at a time to verify that each one functions properly. You should, however, disable the plugin before updating PHP if you receive a warning that the new version is incompatible with your current version of PHP.

It is recommended that you update the plugin once you have upgraded PHP.

4. Check PHP compatibility

You may make use of a plugin called PHP compatibility to do this. You may use this checker to see whether changing your PHP will create difficulties. This isn’t a foolproof technique of determining whether or not a website is compatible, as the plugin may overlook elements or return false positives on occasion. However, in the majority of situations, it is beneficial. If you encounter incompatibility concerns, we recommend that you disable the offending plugins or themes before upgrading. You can get in touch with the developers and request that they look into the problem.

Having taken these measures and being confident that your site will be able to handle the upgrade, you may proceed to securely update the PHP version on your WordPress site.

How To Upgrade PHP Safely And Easily?

While certain coding languages may be executed in web browsers, PHP is executed on your web server, as we discussed before in this article. Your web host is in charge of controlling and managing your web server. Unless you have your own server, it is unlikely that you will have complete control over it. As a result, you will not be able to find an option to upgrade PHP on the WordPress dashboard. In order to update PHP on your web server, you must log into your web hosting account first. Each web hosting service has a unique technique of upgrading PHP; nevertheless, they will all be very similar in their execution.

We’ll demonstrate how to update your website using cPanel on two different hosting providers: GoDaddy and NameCheap. If you are using a different web server, you may find information on how to upgrade PHP at the following links:.

  • HostGator, Inmotion Hosting, Kinsta, Pantheon, Savvii, SiteGround, and WP Engine are some of the companies that offer web hosting services. 1 1 is a web hosting company that offers web hosting services.

How to Update PHP version Using NameCheap?

Enter your NameCheap web hosting account credentials. 2. Navigate tocPanelSoftware’Select PHP Version’ in the cPanel. In the section titled PHP version, you’ll notice the text highlighted in blue with a dropdown menu. Choose the version you wish to update to and then click on the’set as current’ button to make it the current version. Your PHP version has been upgraded as a result of this. Check out this article:WordPress Site Not Loading? What to do in this situation

How to Update PHP version Using GoDaddy?

GoDaddy hosting accounts need you to log in first. 2. AccessMy ProductsWeb HostingManage is a web-based management system. 3. Select Server from the drop-down menu in the Settings section. 5. Select the ‘PHP version’ option from the drop-down menu. A pop-up window will open, allowing you to change the PHP version. 6. Select the version of the software you wish to upgrade, enter ‘update’ to confirm, and save the modifications. Your WordPress website is now running on the most up-to-date version of the PHP programming language.

Contact your site hosting provider if you experience any difficulties or are unable to upgrade your PHP version.

Final Thoughts

The use of out-of-date software has an impact on the security and speed of your website. Your website will perform better and load faster now that you have upgraded your PHP version. Additionally, it will be more secure against hackers. However, this is merely a first step in the right direction in terms of improving WordPress security in the future. Our recommendation is that you always use the following features on your WordPress website:

  1. Make use of our security plugin MalCare to check and monitor your web presence. Its robustfirewall will prevent hackers from targeting your website
  2. And Make a copy of your WordPress website for safekeeping. In the event that something goes wrong with your website, you may restore it to its previous state using your backup copy. Hackers will have a harder time breaking into your WordPress site if you harden it. You can refer to our in-depth guide on WordPress Hardening for further information.

As a result, your WordPress site now runs significantly better and is entirely protected. MalCareSecurity Plugin can help you protect your website! Melinda is a WordPress enthusiast that appreciates sharing their knowledge and expertise with other WordPress lovers. Melinda writes on the MalCare blog about the lessons she’s learned through developing plugins to address the security challenges that administrators confront.

Leave a Comment

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