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 126.96.36.199 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!
OpenCart LIGHT 188.8.131.52: http://www.openshop.li/light/
OpenCart V-PRO 184.108.40.206: http://www.velomech.ch/shop/
V-PRO Multi Theme View: http://www.openshop.li/shop/
Free Github OC Downloads: https://github.com/IP-CAM
1'900+ FREE OC Extensions from the world's largest Github OC Archive.
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 5 guests