Forums / Upgrading to 1.5.x / 1.5.x Upgrading from 1.5.0 to 1.5.5a with question about which PHP version to use

1.5.x Upgrading from 1.5.0 to 1.5.5a with question about which PHP version to use

Locked

Started by jkll on 6 May 2016, 10:43 PM · Views: 3,257

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 May 2016, 10:43 PM
#1
jkll avatar

jkll

New Zenner

Join Date:
May 2016
Location:
Minneapolis
Posts:
4
Plugin Contributions:
0

1.5.x Upgrading from 1.5.0 to 1.5.5a with question about which PHP version to use

In a ZC support doc, it says that "v1.5.0 is compatible with PHP 5.2.14 thru PHP 5.3.x." I am running PHP 5.4, and the site hasn't experienced any issues whatsoever. However, I only have one server to run both the live and dev sites. I can upgrade the server to PHP 5.5, so I am wondering if I should do my upgrade work running PHP 5.4 or 5.5. Meaning the live site would go to 5.5, too, if I tested 1.5.5a with PHP 5.5 running. Or I would be testing 1.5.5a on PHP 5.4 while the live site runs as it always has. Any thoughts or recommendations? Thanks.

6 May 2016, 11:36 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Re: 1.5.x Upgrading from 1.5.0 to 1.5.5a with question about which PHP version to use

ZC 1.5.5 (including a) is compatible with PHP 5.4. Further though it is ideal to maintain the most recent software, use of PHP 5.5 is likely to disable your live store (assuming that it is not overly modified to support higher versions) and that would be counter-productive...

Upgrade the ZC software as is, then once functional upgrade the PHP version to the highest available.

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

7 May 2016, 1:17 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: 1.5.x Upgrading from 1.5.0 to 1.5.5a with question about which PHP version to use

mc12345678:

Upgrade the ZC software as is, then once functional upgrade the PHP version to the highest available.
Right. Since v155 is compatible with your old PHP 5.4, do your complete upgrade while still running PHP 5.4. Then after the upgrade you can switch to a newer PHP version.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 May 2016, 9:37 AM
#4
torvista avatar

torvista

Totally Zenned

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

Re: 1.5.x Upgrading from 1.5.0 to 1.5.5a with question about which PHP version to use

so I am wondering if I should do my upgrade work running PHP 5.4 or 5.5
do your complete upgrade while still running PHP 5.4
Yes, one problem at a time.
Once you have done your upgrade and your production shop is stable, I would recommend you set up a local development server using php7 and spend your time getting your shop working under that rather than 5.5.
ZC155 is fine with php7 but your mods wont be, but the debug errors are straightforward to fix and then your shop will be fine for the next few years.
This is what I have been doing recently, so I wont have to worry about my host doing php upgrades for a couple of years.

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

7 May 2016, 4:46 PM
#5
jkll avatar

jkll

New Zenner

Join Date:
May 2016
Location:
Minneapolis
Posts:
4
Plugin Contributions:
0

Re: 1.5.x Upgrading from 1.5.0 to 1.5.5a with question about which PHP version to use

Okay, thanks, everyone. I was hoping for the answers given.