Forums / Installing on a Linux/Unix Server / Will v151 work with PHP5.6?

Will v151 work with PHP5.6?

Views: 1,887

Results 1 to 10 of 10
5 Dec 2014, 7:37 PM
#1
jingjo avatar

jingjo

New Zenner

Join Date:
May 2011
Posts:
29
Plugin Contributions:
0

Will v151 work with PHP5.6?

Hi - I've got v151 up and working really well on one website right now. I want to install v153 on another website on the same server. The server is running PHP5.2.17 and the hosting company is happy to upgrade to PHP5.6 for me.

The question I have is if I upgrade to PHP5.6 will my store using v151 still work?

5 Dec 2014, 7:45 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Will v151 work with PHP5.6?

Given the number of patches required for a Zen Cart v1.5.1 installation to run under PHP 5.4, I'm going to say "Not likely".

5 Dec 2014, 10:54 PM
#3
jingjo avatar

jingjo

New Zenner

Join Date:
May 2011
Posts:
29
Plugin Contributions:
0

Re: Will v151 work with PHP5.6?

lat9:

Given the number of patches required for a Zen Cart v1.5.1 installation to run under PHP 5.4, I'm going to say "Not likely".

Thanks lat9 - What about if I upgraded the website that uses v151 to v153. Would it work with PHP5.6 then?

5 Dec 2014, 11:18 PM
#5
jingjo avatar

jingjo

New Zenner

Join Date:
May 2011
Posts:
29
Plugin Contributions:
0

Re: Will v151 work with PHP5.6?

stevesh:

It appears so:

http://www.zen-cart.com/content.php?48-what-are-the-server-requirements-to-run-zen-cart

Thanks stevesh - I can see that Zen Cart v1.5.1 is compatible with PHP 5.2.14 thru PHP 5.3.x. and the recommendation is that it is better idea to upgrade to v1.5.3. As Zen Cart v1.5.3 is compatible with PHP 5.3.7* thru PHP 5.6 would it be a safer to upgrade my server to PHP 5.3.7 first and then perhaps PHP5.6 at a later date?

My real fear is my store going down right in the middle of the Christmas rush.

6 Dec 2014, 1:29 AM
#6
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Will v151 work with PHP5.6?

If you have the option, I guess I would wait until after the holidays to upgrade both Zencart and PHP.

6 Dec 2014, 2:34 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Will v151 work with PHP5.6?

Would agree with steve, and the plan of incremental php upgrade doesn't sound bad. I have installed zc 1.5.3 on a system with PHP 5.2.17 that was the upgraded to 5.4.x without any issuesn so you could go that route as well... Tricky thing comes into play when dealing with the database at different php levels and passingthe database around from server to server or localhost and/or reverse.

Been a while since I've looked into how that host deals with php,but some hosts allow independent versions based on directory (typically via .htaccess)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

6 Dec 2014, 8:55 AM
#8
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Will v151 work with PHP5.6?

I am using 1.53 locally on php 5.6 ok, the only minor issues were with some add-ons not using mysqli.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

7 Dec 2014, 1:07 AM
#9
jingjo avatar

jingjo

New Zenner

Join Date:
May 2011
Posts:
29
Plugin Contributions:
0

Re: Will v151 work with PHP5.6?

torvista:

I am using 1.53 locally on php 5.6 ok, the only minor issues were with some add-ons not using mysqli.

What add-on's were those torvista?

7 Dec 2014, 10:12 AM
#10
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,876
Plugin Contributions:
7

Re: Will v151 work with PHP5.6?

I think it was just backup mysql due to a couple of non mysqli calls...but I don't keep records of these minor changes.

I usually use the latest Xampp as soon as it comes out to keep well ahead of the hosting's php level and there is usually something minor that crops up in the error messages rather than the cart actually breaking. And so I don't even think about host php upgrades, never mind worry about them.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...