I am using Opencart 2.2 on a domain hosting using php 5.4 They have advised that they are upgrading to php 7.xx and are warning me to make changes to my installation. Can anyone advise ho this will affect the site and what should I do?
Thanks for any input.
Because certain functions are deprecated in latest php version.
And 2.2 version might be using that.
So you may see some errors.
You can keep your store to use lower php version.
Your host can do that for you.
You can add below code in your .htaccess file:
Code: Select all
AddHandler application/x-httpd-php53 .php .php5 .php4 .php3
required where for the MySql-Buddy and the eXtplorer File-Editor Extensions,
beeing part of the good old OpenShop Admin Extensions. And the 184.108.40.206 INSTALL
Routine also does not find it's DB anymore, when I tried to install it, the default way,
so, I had to switch back to PHP v.5.6.x temporarely, to make this INSTALL work again.
But it may also depend on Extensions used, the free OC 1.5.6.x File Editor (not image editor!),
offered in the Extension Section, did no longer function with PHP 7, so, any Extension, interacting
with the DB, and possibly not prepared to 'handle' MySqli, would therefore no longer be
able, to work, because PHP7 requires MySqli.
OC2 itself should therefore not have a problem at all, I assume. But it did NOT make any difference
in overall OC-performance, contrary to claims, that it would, just to mention this too!
Please don't send me OC Forum Personal Messages, just contact: email@example.com
OC 220.127.116.11 LIGHT Test Site: http://www.bigmax.ch/shop/
OC 18.104.22.168 V-PRO Test Site: http://www.openshop.li/shop/
My Github OC Site: https://github.com/IP-CAM
2'600+ FREE OC Extensions on the World's largest Github OC Repository Archive Site.
I have a number of Opencart extensions that rely on my Opencart verson. I suppose it will be a suck and see situation. The Hosting Domain are saying that fall back to earlier PHP will be phased out and are expecting everyone to move to 7.xx Might have to review them and move the site if issues develop.
Users browsing this forum: No registered users and 14 guests