Upgrading Zend / php

Support/Development for PHP
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Upgrading Zend / php

Unread post 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.
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post by Snapdragon »

... pretty please... :(
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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).
Lemonbit Internet Dedicated Server Management
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post by Snapdragon »

So which Zend version would be appropriate for php 4.4.2? I currently have 1.3.0.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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.
Lemonbit Internet Dedicated Server Management
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post by Snapdragon »

OK.. I'll give it a try. I assume if it fails horribly I can remove it and put 1.30 back.
Snapdragon
Forum Regular
Forum Regular
Posts: 119
Joined: Mon Nov 28, 2005 4:44 pm

Unread post by Snapdragon »

Well, I put it in, and apache started hanging up horribly, and webmail attachments broke, so out it went.
Post Reply