If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / Upgrade Live Store to v1.5.4 AND PHP 5.4 from v1.5.0 and PHP 1.2.17

Upgrade Live Store to v1.5.4 AND PHP 5.4 from v1.5.0 and PHP 1.2.17

Started by zean on 12 Jun 2015, 5:31 AM · Views: 855

Results 1 to 3 of 3
12 Jun 2015, 5:31 AM
#1
zean avatar

zean

Zen Follower

Join Date:
May 2009
Posts:
200
Plugin Contributions:
0

Post #1 by zean

I want to do 2 thing: (1) Upgrade my zen-cart from v1.5.0 to v1.5.4 and (2) Upgrade to either PHP 5.4 or PHP 5.4 (single php.ini) or PHP 5.4 (FastCGI).

However, I believe that upgrading to PHP 5.4 will break my live store as BlueHost informs me that zen-cart v1.5.0 is incompatible with PHP 5.4+
My live store is zen-cart v1.5.0 operating with PHP 5.2.17 in a shared hosting environment under a Linux Apache Server with a dedicated IP at BlueHost.

My prioirty is to minimize store down time. Since this type of problem is not unique, I'm hoping someone might have some suggestions on how to proceed and in what order. I have already done a successful practice install of the v1.5.4 with demo data per /docs/2.readme_how_to_upgrade.html and can follow those instructions.

I also want to make my store mobile friendly to meet google's new requirements, but thought it wise to take care of the above upgrades before installing any plugins.

Thank you in advance to any kind souls who are inclined to help!

Live Store:
Zen Cart v1.5.0
No plugins
Zen Cart installed via FTP and run zc_install
PHP Version: 5.2.17 (Zend: 2.2.0)
MySQL 5.5.42-37.1-log

12 Jun 2015, 11:59 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

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

Post #2 by mc12345678

Say have "practiced" the upgrade of the files. There are instructions included here about how the site can be operated using PHP 5.2.17: http://www.zen-cart.com/showthread.php?215694-Known-Bugs-%28and-fixes%29-with-v1-5-4

So you could do the initial upgrade having modified the 1.5.4 files as described following: http://www.zen-cart.com/entry.php?3-How-do-I-rebuild-my-site-on-the-new-version-instead-of-upgrading

Then upgrade the php and restore the files modified above in the first step.

If the upgrade involves moving to a different server then some of the above would need to be modified accordingly.

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

12 Jun 2015, 9:11 PM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,913
Plugin Contributions:
23

Post #3 by dbltoe

Or... You can try patching the 1.5.0 to work with PHP 5.4 while you are upgrading. May be less work.
https://www.zen-cart.com/showthread.php?208662-date-timezone-patch-for-v1-5-1-1-5-0-1-3-9-on-PHP-5-3-5-4-5-5

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com