Older versions of word press core, plug-ins, or themes may put your site at risk. PHP is no different. WordPress can technically run on some older versions of PHP, but these features may be exposed to security vulnerabilities at the expense of performance and compatibility. For security and stability, always use the version of PHP recommended by WordPress. This post describes how to confirm the version of PHP you are running, how to update PHP to the recommended version of word press, and how to have these elements handled by a competent hosting provider. The
Jump link to this article: respect for PHP WordPress recommends PHP needs to be updated on the grounds of speed charge vulnerability version disgust? How to update PHP in WordPress step 1: create a copy of the website step 2: create a local or dump website PHP quality management convenience tools troubleshooting resources PHP host partners respect for PHP WordPress website folder can see many PHP files. PHP supports most of the core word press software and is an essential language for the word press community. The
PHP runs on a variety of platforms (windows, Linux, UNIX, Mac OS X, etc.) and is compatible with almost all servers used today (Apache, IIS, etc.). It is not only the main part of WordPress, but also the main part of the whole web, supporting 70% of all websites. WordPress supports multiple versions of PHP, some of which are no longer used, but usually only safe or stable versions can be used. Word press recommends that PHP, like the word press core, themes and plug-ins, should be updated regularly. The
For PHP, each version has a year to go, gets support within two years of its initial release, and then releases only important security updates as needed. In three years, this version of PHP will no longer be supported. As of July 2021, WordPress has recommended PHP versions above 7.4. High quality hosting providers usually require the PHP version recommended by WP to use the server and help modify the site to avoid damaging the site with the latest version of PHP. For example, we will mention ourselves (hey, we are proud of our trusteeship!). Wpmu dev hosting provides the latest PHP version approved by the site. The
Upgrading (or downgrading) to a different version is a simple process performed through hub2.0. In some cases, some third-party plug-ins may become obsolete, causing problems with the latest version of PHP. In this case, you can look for updates, alternatives, or downgrade the PHP version to a previous version as needed (as long as the security patch distribution is still actively supported). If you are interested in the entire document managed by wpmu dev, please click here. Male h elping (of) P ie- only a small 0.7% of websites use the latest version of PHP, while at least 36.6% of websites use the recommended version of PHP. Sometimes, poorly reputed and inexpensive hosts do not recommend upgrading PHP because of the additional support time and resources that help with the conversion. The
Because you don’t want to update your site with the latest version of PHP recommended, which will cause damage to the site, you often want to use the old version of PHP for your site, which is unobtrusive. PHP 7.2 was launched in november2017. Considering the 3-year rule, we know that the end of life cycle is reached in November 2020 (including previous PHP versions). This is why more than one third (37.2%) of WordPress websites are no longer actively supported
This means that an unavailable version of PHP is running. This is not the worst. Historically, the number stayed at two-thirds (66%) or even longer than the time! This is a problem for many reasons. The
The reason why PHP needs to be updated is that the latest version has great performance advantages. The speed test conducted by kinsta shows that in the seven PHP versions, please consider the following statistics: The PHP version shows a significant speed difference. As can be seen from the above table, the faster the latest version of PHP, the faster the requests per second. The proposed PHP version can reduce the time it takes to process the same number of requests, thus providing a better user experience for visitors. Kinsta has also been tested in PHP version 8, and the speed has been increasing, so I would like to rate it. The
The benchmark result is 233.40 requests per second. PHP 8.0 is 18.5% faster than PHP 7.4. If you restore multiple versions to 7.0, you actually process 50% more requests per second. In ordinary WordPress purlieu, PHP version 8.0 is difficult to evaluate, so PHP version 8.0 is not included in the chart. (WordPress 5.6 is currently considered compatible with PHP 8.0.) Because you know this, be careful and thoroughly test before upgrading important sites or client sites to PHP 8.0. The
Efforts are required to maintain the cost code. If it is necessary to ensure the compatibility with previous versions, its efforts will be doubled. When WordPress releases the minimum recommended PHP version, overworked theme and plug-in developers will breathe a sigh of relief. Developers can spend time adding new features or improving security, rather than parsing code, to avoid changes to PHP affecting PHP. Just as vulnerability plug-ins, themes and WordPress core receive updates to modify security vulnerabilities, so does PHP. The
This is also an important reason for using PHP versions that still receive updates. Protect users from vulnerabilities such as SQL injection, XSS and DOS attacks. According to the CVE details of the security vulnerability data source, PHP with YTD as the standard in 2021 has only two vulnerabilities. Compared with the 14 vulnerabilities discovered in 2020, 23 vulnerabilities discovered in 2018 and 105 vulnerabilities discovered in 2016, we can see why it helps to protect updates from many known malicious security exploits. ‹ vulnerability score per PHP for a particular year. In fact, a hacker is checking the running version of PHP to determine which attack is effective. The
Dislike of the male version? The first step in compatibility is to understand the version of PHP your site is using. You can easily see this information from the WordPress dashboard. Go to Tools > site status > status. If your site needs to use the latest version of PHP, the suggested improvements will be shown below. If yes, please open the passed test section for confirmation. Your site shows that you are running the current version of PHP, with the version number in parentheses. The WordPress dashboard site status screen displays the PHP version. Alternatively, you can go to Tools > site status > information > server from the site panel to view the PHP version you are using. Set up the WP dashboard to view PHP version information. In WordPress, check how to update the PHP version running on the managed server of PHP to see if you should upgrade to the latest version of PHP. like that
Please check this article. If the problem is caused by the problem solving plug-in or theme, please first solve the problem on the test website and find an appropriate alternative compatible with the latest version of PHP. When you find a solution, go to the live site to make changes. Consider using the plug-in on the web site of androg P EE HP support version. When you find a suitable plug-in in the WordPress repository, don’t forget to check the supported PHP version. After all resource compatibility bugs and serial connections are resolved, you can push static in real time or make necessary changes to the real-time site, and then change the PHP version on the real-time site. Although each host has different processes, it is likely to include changes to the settings of the host cPanel. Some shared hosts cannot access this setting. In this case, you must contact the appropriate host for assistance. The following is a list, including WP engine, Pantheon, kinsta, pagely, BlueHost, Hostgator, GoDaddy, etc., which contains instructions on how to update the PHP version of the popular host set. Hosting a hub interface with wpmu dev can greatly simplify PHP version changes. Access PHP settings through the hub of wpmu dev. If you prefer a simple solution with a clean UI to validate or update your PHP version, try hosting wpmu dev before you do one more thing. Male PHP host partnership will you be the position of P retty h orrible P, or the competition of P profession h appy show p? Rhetorical questions I really want to play that character.:) Cheap shared hosting makes many people believe that website hosting is a simple process. In fact, maintaining site files and databases requires a lot of effort. Keeping all software up to date is one of the tasks that the host can help you and needs help. They don’t want to help you or hide the version in order to maintain you in the dark. This is a danger sign that you can do better. You should seriously consider switching hosts. In wpmu dev, our hosting (Digital Ocean support) leads the industry in terms of value. It not only helps to update the PHP version, but also provides useful functions, such as security, cache configuration, uptime monitoring, dedicated IP, nighttime backup, free and automatic migration, website analysis, etc. If you need help with topics or plug-in compatibility issues, or have WP issues, the highest level support team will go to help all year round. In addition, all escrow programs are covered by a 30 day full refund guarantee (100% refund if you decide not to be satisfied). Whether you receive with us or elsewhere, please remember the value that the receptionist can and should provide. Select reliable companies that can handle automation and update operations, such as keeping PHP versions up to date with WP recommendations. Don’t let hosting below the level steal your focus. You should be able to separate your time and energy into smaller parts. Add luster to your website with unique talents in the competition. Have you ever tried updating PHP before? Are there any other tips or suggestions? Please leave your comments below. Tag: managed PHP phpMyAdmin