Is PHP7 Worth It?

Maxoq

Well-known member
Registered
Joined
Feb 25, 2015
Messages
520
Points
28
The title says it all--Is PHP7 worth impacting on the performance of your server?
I want to know the difference in details between PHP5.x and PHP7.x. I read more about PHP7 and wanted to give it a try but since it is new and seem not quite support any web cms.
Has anyone had good results or experience with PHP7? 7 Is PHP fast and worth it?
 

LJSHost

Well-known member
Hosting Provider
Registered
Joined
Jul 5, 2016
Messages
1,031
Points
63
Testing and statistics do show up to a x3 performance boost when using php 7 compared to previous versions.
I think you should be safe to upgrade to version 7, but make sure nothing in your code needs to be updated to ensure version 7 compliance.
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
php7 is already supported by all the most popular CMS : WordPress, Prestashop, Joomla, Magento etc..
For WordPress it make it running up to 3x faster and using less resources. All my websites are running with php7 for few months now, and it's a real improvement.

PHP bench on the same server :

--------------------------------------
| PHP BENCHMARK SCRIPT |
--------------------------------------
Start : 2016-09-11 13:30:06
PHP version : 7.0.9
Platform : Linux
--------------------------------------
test_ifelse : 0.177 sec.
test_loops : 0.213 sec.
test_stringmanipulation : 0.337 sec.
test_math : 0.251 sec.
--------------------------------------
Total time: : 0.978 sec.


--------------------------------------
| PHP BENCHMARK SCRIPT |
--------------------------------------
Start : 2016-09-11 09:30:31
PHP version : 5.6.24
Platform : Linux
--------------------------------------
test_math : 0.967 sec.
test_stringmanipulation : 0.960 sec.
test_loops : 0.555 sec.
test_ifelse : 0.458 sec.
--------------------------------------
Total time: : 2.94 sec.
 

Justin

Member
Registered
Joined
Sep 9, 2016
Messages
26
Points
3
I should probably upgrade my own website to 7 if there's this much of a performance boost. I'm running on 5.x right now, but a three fold increase is great. Thanks for posting those results too, Virtubox.
 

HyperHost

Member
Hosting Provider
Registered
Joined
May 12, 2016
Messages
50
Points
8
I also agree that PHP 7.0 make your site work faster, so version upgrade will be a good idea!
 

fwh

Administrator
Staff Member
Joined
Dec 8, 2012
Messages
773
Points
63
php7 is already supported by all the most popular CMS : WordPress, Prestashop, Joomla, Magento etc..
For WordPress it make it running up to 3x faster and using less resources. All my websites are running with php7 for few months now, and it's a real improvement.
If compared with lower PHP versions then it will be better but if it doesn't combine with one cache system then the speed may be not improved more.
Just want to know which caching solutions are you running with PHP7

I also agree that PHP 7.0 make your site work faster, so version upgrade will be a good idea!
I should probably upgrade my own website to 7 if there's this much of a performance boost. I'm running on 5.x right now, but a three fold increase is great. Thanks for posting those results too, Virtubox.
If you are using 5.x with a cache system then you should keep it. If you want to discover the strength of new PHP version (7) then you can install it and test with a cache to work best for your websites and improve the loading speed for webpages.
 
Older Threads
Newer Threads
Replies
5
Views
7,330
Replies
3
Views
2,131
Replies
1
Views
2,190
Recommended Threads
Replies
23
Views
13,046
Replies
2
Views
2,731
Replies
22
Views
8,925
Similar Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top