Help - Search - Members - Calendar
Full Version: HOWTO: Downgrade from php 4.3.2 or 4.3.3 in order to upgrade to Ensim Pro 3.5.18
The Planet Forums > Control Panels > Ensim > Ensim HOWTOs
ArtieMcD
If you have installed the php 4.3.2 or 4.3.3 php, you're in for a little adventure in order to upgrade to the latest Webppliance. Here's what we had to do just to be able to upgrade.

BTW standard disclaimer, these instructions are to be done at your own risk. I cannot guarantee what affect this will have on your box as we all have different ensim-unsupported configurations were trying to revert back to the ensim baseline. Your results may vary.

Ok, back to the instructions...

First we need the original 4.2.2 php rpmss as provided by ensim.
If you had used the steps in our previous howto's you should allready have them in /home/admin/orig.php.ensim.3.5.x, where x is the version of ensim you are at.

If you don't have the original ensim sources avaliable you can get them using the following HOWTO's:
If you're running 3.5.15 - http://forum.rackshack.net/showthread.php?...&threadid=30006
If you're running 3.5.16 - http://forum.rackshack.net/showthread.php?...&threadid=30007
If you're running 3.5.17 - http://forum.rackshack.net/showthread.php?...&threadid=30007



Now that we have the original code, lets uninstall php 4.3.2/4.3.3.
rpm -e --nodeps expat `rpm -q -a | grep php- | grep -v webppliance|sort`

Now lets reinstall the original php
rpm -ivh /home/admin/orig.php.ensim.3.5.x/*.rpm
Rememeber x is the version of ensim you are currently on.

That's it, you should now be able to upgrade to ensim 3.5.18

Good luck!

Oh, after you upgrade to ensim 3.5.18, we strongly recommend you back up the ensim php rpms in anticipation of another non-ensim-supported php is released so that your next ensim upgrade is easier.

Here's the steps to do that:
cd /home/admin
mkdir orig.php.ensim.3.5.18
cd orig.php.ensim.3.5.18

wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...ensim2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...ensim2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...ensim2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...ensim2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...ensim2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...ensim2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...ensim2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...95.2-2.i386.rpm
wget ftp://ftp2.ensim.com/apt/ensim/LWP/3.5.18...95.2-2.i386.rpm
foggy
edited, i was wrong. imagine that.. icon_biggrin.gif
ArtieMcD
Are you sure after the upgrade is installed that all the php rpms installed are ensims? or did ensim skip the install of the other php rpms since if it thinks they are up to date.

The last thing we need is to cause ourselevs php problems because we are mixing two vendors php rpms whom may have built them in different ways.
foggy
icon_smile.gif
ArtieMcD
ok, good luck, let me know if i need to correct something in my proceedure... i am trying to get my virtual server back up so I can test the upgrade on a test system before i attempt this on a production server and I want to verify this proceeded several times to make sure I have it 100% right. Of course, it worked fine for the 3.5.15, 3.5.16, and 3.5.17 upgrades.
Aidden
I assume this would apply for 4.3.1 as well?
ArtieMcD
QUOTE
Originally posted by Aidden
I assume this would apply for 4.3.1 as well?


I have not officially tested it, but would love to hear how it goes.
Aidden
hahaha.. Love that answer icon_smile.gif
Aidden
Yes it does icon_smile.gif
Thanks for the info.
PeteDogg
I'm not positive, but I did a search and I think the location of the rpms you are looking for is:
/var/cache/apt/archives

there are some php 4.3.3 rpms in there.
ArtieMcD
I have updated the insturctions on how to save the ensim rpms in case of future non ensim php releases we have to roll back from. The updated part is in red.
dmms
Hi.. sounds good and what you guys have posted seems to be the only way to do it, but what if your upgrading from WEBppliance Pro 3.5.4-2 ... how can i get the original rpm's ??
ArtieMcD
Hey, since we didn’t install the php distribution until 3.5.15, we never had to retain the php rpms for that version of Ensim. I would recommend rooting around ensims ftp server to see if you can find the rpms they use for 3.5.4... You would just have to navigate their ftp server until you find the distribution point... If 3.5.4 is a patch and not a maintenance install, you can probably find the php code in the patch tarball, or if php was not touched, just used the php delivered with the previous maintenance version of ensim.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.