Page 1 of 1

Upgrading Zend / php

Posted: Sat Jul 22, 2006 5:22 am
by Snapdragon
I have a client who has a script that demands Zend 2.1 or better. I see that 1.2 is currently running under php 4.4.2 on my machine.

I also see that php 5.0.4 is available on yum.

Now I'm scared to upgrade either one given the amount of problems I've seen posted here.

Any recommendations? Can I just upgrade Zend to 2.1 and be OK? They have 3.0 available for php 5.1 on their site (and it claims to work with 4.04 or higher), but.. I dunno!

Advice please.

Posted: Sun Jul 23, 2006 5:49 am
by Snapdragon
... pretty please... :(

Posted: Sun Jul 23, 2006 9:21 am
by breun
Just install the latest Zend for the PHP version you have running or upgrade PHP and then install Zend for that version.

The key is to avoid upgrading PHP to a new version and not upgrade Zend with it. That will usually get you into trouble, unless it's just a minor upgrade (say: 4.4.1 -> 4.4.2).

Posted: Sat Jul 29, 2006 3:38 am
by Snapdragon
So which Zend version would be appropriate for php 4.4.2? I currently have 1.3.0.

Posted: Sat Jul 29, 2006 11:11 am
by breun
The Zend site says: "For PHP versions below 4.0.4, use the Zend Optimizer 1.2.0." So you can just install the latest version.

Posted: Sun Jul 30, 2006 6:59 am
by Snapdragon
OK.. I'll give it a try. I assume if it fails horribly I can remove it and put 1.30 back.

Posted: Thu Aug 03, 2006 1:19 am
by Snapdragon
Well, I put it in, and apache started hanging up horribly, and webmail attachments broke, so out it went.