Apparently there are significant performance increases, see this article - https://kinsta.com/blog/php-7-hhvm-benchmarks/
and it did not change a thing for OC. But since you want to find out,
what's keeping you from trying it out, you won't have to change
anything in the OC configuration.
Ernie
Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.ipcam.li/shop/
Look at the benchmarks (in the link I posted) they speak for themselves....
I will test it, just didn't want to waste my time in case someone else already had.
The most generated errors being found on Opencart forum originates from contributed programming.
Regards,
Straightlight
Normally, we prefer the Opencart system to run in PHP 5.6.
There may be some bug or error with you run in PHP 7.X.
If you have any question, please feel free to let us know.
Thanks and regards,
Alex
Opencart Team
The most generated errors being found on Opencart forum originates from contributed programming.
Regards,
Straightlight
Well, those benchmarks do NOT include OpenCart, and I have made a bunch of real-timeLook at the benchmarks (in the link I posted) they speak for themselves....
Tests, by use of my peaked Test OC's, and always packed at least with 2K Products,
and not getting ANY result, better than before. But I am also aware of, that getting an OC
20 products Category GTMetrix Result from 98% up to 99% is not that easy either...

And what counts for me is, what a Visitor gets, and not some theoretical Benchmarks.
However, I cannot speak for latest OC Versions, since I use v.1.5.6.5, but combined
with V.2.x Bootstrap Themes, and PHP 7.0.x will be the End of the Line for this Version,
without changing some of the existing Code. Still, there was no measusable difference
to PHP 5.x, used before, performance-wise, and from a Visitor Point of View.
But I am also aware of the Fact, that some Responsive Themes drop GTMetrix Results
by 15%+ Performance Points, without adding anything else, but themselfs...

As you can see on the image just below...
But for those, using MySql before, the also required change to MySqli is a giant
step upwards, but this has nothing to do with PHP-7 either, just to mention this as well.
There are lots of things, keeping OC from doing, what it could, but as long as
OC Users fill their Pages with all that crab, available in the Extension Sections,
it's just a Dream, to expect an OC to work better, just by changing to PHP 7.2.x.
Ernie
---
Another Theme, and I tried everything, but that's the best I got out of it, so, I dropped it from the list...
---
---
Link to large image:
download/file.php?mode=view&id=34065
Attachments
Chrome Browser Performance test - 1565_php_test_chrome_browser_performance_results.jpg (79.2 KiB) Viewed 1700 times
Custom OC Theme Performance Test - theme_performance_test_1565.jpg (52.43 KiB) Viewed 1727 times
Compare PHP Version Performance Test - php_version_performance_test_1565.jpg (437.75 KiB) Viewed 1730 times
Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.ipcam.li/shop/
# PHP CodeSniffer Compatibility
Test against PHP between version 5.4 - 7.3
Code: Select all
phpcs -p . --extensions=php --standard=PHPCompatibility --runtime-set testVersion 5.4-7.3 --report-summary=./phpcs_compat_summary.txt --report-full=./phpcs_compat_full.txt
Detailed report in attachment.
Quite details report including files, code line and the description.
# PHP CompatInfo
Test command
Code: Select all
php phpcompatinfo.phar analyser:run . --output=phpcompatinfo_result.txt
Conclusion: Requires PHP 5.6.0 (min), PHP 7.0.2 (all)
Detailed report in attachment.
Contain summary for required PHP ext; namespace, class, method enalysis etc
I suggest to take look both result, because in PHP CodeSniffer compatibility report there is errors indicating issue in PHP 7.1 and 7.2
But it was only at certain library and vendor which not all user might use them.
.
PHP 7.2 removed mcrypt extension. Since OC3, mcrypt was replaced, so I guess, it will work fine as well. The functions changed in the newest PHP versions don't affect OC. However, some extensions might be not up to date but from my experience with professional, large extension developers, that should not be a problem.
Users browsing this forum: No registered users and 4 guests