Upgrading from 3.10.1 to 4.0.7

Author Message

cliffp pratt

Tuesday 02 November 2010 10:14:33 pm

I'm upgrading from 3.8 to 4.2.0 stepwise as recommended. I upgraded to 4.2.0 and have some problems so I'm investigating each step.

In particular I'm currently looking at the 3.10.1 to 4.0.7 upgrade steps. I can't put php5 and php4 on the same machine for a number of reasons so I have a machine with EZP 3.8 and PHP4 which I have upgraded to 3.10.1. I then took a file system dump and a database dump and installed them on a machine with PHP5 on it. I then performed the upgrade steps to 4.0.7.

Is there anything wrong with this approach? I note that the upgrade notes say to upgrade to 4.0.x and then switch to PHP5, but I've effectively upgraded the PHP to PHP5 before I did the upgrade.

If I strictly follow the notes I would upgrade from 3.10.1 to 4.0.x on the first machine, then copy the file system and database to the second machine and finish the 4.0.x to 4.0.y upgrade there?

Any advice will be appreciated. (Note: I'm also considering ezupdate, but it requires both PHP4 and PHP5 on the same machine as the script uses PHP5)

Cheers,

Cliff

Steven E. Bailey

Tuesday 02 November 2010 11:52:07 pm

You're doing it right... at least, you're doing it the way I would do it - two machines with different php versions and doing the switch at 4.0.x.

If I'm not mistaken (and I remember correctly), 3.10.0 and 4.0.0 (and 3.10.1/4.0.1) are the exact same code except one is for php4 and the other is for php5. So you can switch machines and start the upgrade process from there.

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

cliffp pratt

Sunday 07 November 2010 5:48:26 pm

Thanks Steven,

There are some upgrades when you go from 3.10.1 to 4.0.1 to 4.0.7, but thanks for the information. I'll press on with my upgrades,

Cheers,

Cliff

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.