PHP is the dominant programming language behind the majority of websites & platforms on the web (including WordPress).
As such, it constantly undergoes updates and improvements. It is important lớn keep your PHP version up khổng lồ date khổng lồ ensure that your trang web is as fast và secure as possible. As far as the PHP code is concerned however, websites can still have other vulnerabilities.
Bạn đang xem: Install multiple php version with apache on ubuntu 18
There are three main factors in determining which PHP version lớn use on your websites:The requests-per-second performance of the website/s running the PHP code (more is better)The memory usage demands of each PHP version (less is better)The future technical support those versions will offer (or not)
Factor 1: Evaluating Requests-Per-Second Speed
Here are the results of our own recent darkedeneurope.com Hosting speed tests on the different PHP versions (higher is better);
The speed difference between PHP 5.6 and PHP 7.0 is very significant; a 150% increase in requests per second.The over result for you, if using PHP 7.X, is a much faster loading website.
Factor 2: Memory Usage
Here are the results of our own recent darkedeneurope.com Hosting PHP memory usage tests (lower is better);
Though the improvement in memory usage is not as significant as the speed increase, it is still a very healthy 25%.Let’s examine the tư vấn next.
Factor 3: Future Support
The chart below shows the planned tư vấn timelines on the existing PHP versions và their statuses (courtesy of php.net):
As seen above, PHP 5.3, 5.4, 5.5 are already past the period for active support and critical security fixes. PHP 5.6’s active tư vấn finishes at the over of 2016.
This means that PHP 7.X will be the only version fully supported for 2017 & onwards. WordPress also recommends updating your PHP to at least 7.0!
With all this in mind, the decision to upgrade your sites khổng lồ PHP 7.X should be an easy one. If you’d like to know more about upgrading the PHP version of your website, you can read our article or ask us to do it for you!
Be sure to check that your websites are running on PHP 7.X. If you encounter any problems, revert to your previous PHP version & let us know!
If you get stuck with any function discussed here, please liên hệ darkedeneurope.com tư vấn via live chat (use the bottom right hand widget!) & they will usually respond và help within 30 seconds or less.
Privacy và Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities & security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website khổng lồ function and is used specifically khổng lồ collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to lớn procure user consent prior to lớn running these cookies on your website.
SAVE và ACCEPT