Help - Search - Members - Calendar
Full Version: PHP 4.12 to 4.32 on Plesk Server
The Planet Forums > Control Panels > Plesk
josua
(sorry for my english icon_wink.gif )
I have a celeron server with plesk 5.05 and have php 4.12. I need to upgrade it to 4.32. Have somebody a step-by-step manual for it ?

Thank You.
bobk
http://www.atomicrocketturtle.com/modules....&artid=7&page=1

Unofficial RPM made by a Plesk employee. Read the readme or you'll break webmail.
MH.
the link is dead for me.. icon_sad.gif ..

shame.. coz i could really use the info.. icon_smile.gif
josua
(sorry for my english)
ok, i go to http://www.atomicrocketturtle.com/psa/RPMS/7.3/ but what files will download ? what is the order to install ? :confused:

Thank you icon_wink.gif
bobk
I think you want to download php*.rpm, but do read the notes. Go to his front page and navigate from there. I think it's the top item; if not, then look for the link for "Plesk Projects".
Rich2k
Personally I hate installing PHP from rpm as I like a bit of control over what it's doing.

In the case of a php upgrade, the notes on here for a plesk upgrade to 4.1.0 pretty much apply with the obvious updates to file url locations.
josua
ok, i downloaded the file: http://www.atomicrocketturtle.com/psa/RPMS...4.3.2-1.src.rpm

but when i do --rpm rebuild php4.3.2-1.src.rpm
i obtain:

Installing php4.3.2-1.src.rpm
error: failed build dependencies:
freetype-devel is needed by php4.3.2-1
libxml2-devel is needed by php4.3.2-1
pspell-devel is needed by php4.3.2-1
postgreesql-devel is needed by php4.3.2-1
unixODBC-devel is needed by php4.3.2-1
ucd-snmp-devel is needed by php4.3.2-1

any suggestions??? :confused:

Thank for your time icon_wink.gif
bobk
if you have up2date set up (and you should), you can install each of the dependencies that way.

up2date -i freetype-devel
up2date -i libxml2-devel

etc.

Or just install the regular RedHat RPM's from somewhere.
bono
Hi folks,

Wondering if anyone can shed some light into this.
I've followed the rocketturtle's suggestions with the rpm --rebuild command (moved and uninstalled imap and then moved it back, and installed the dependencies like freetype etc which all went well) But towards the end of the rpm --rebuild command I get

configure: error: Cannot find rfc822.h. Please check your IMAP installation.
error: Bad exit status from /var/tmp/rpm-tmp.77246 (%build)

An expert friend recommended I install imap-devel-2001a-10.i386.rpm , which went through fine, but still gave me the same error above.

I then downloaded the imap source from that washington site, but not too sure what to do with it from here, les I break plesk.

Thanks in advance for any ideas and suggestions.

B.
bobk
(I should point that I'm no expert on this stuff, just trying to be helpful).

If I recall, the compile notes at ART note that php is built against a different set of IMAP binaries than the ones installed with Plesk you can install them and recompile, or just use the appropriate version-specific binary rpm. The results should be identical.
atomicturtle
What you want are both the imap, and imap-devel rpms, Ive got the documentation on what to do here:

http://www.atomicrocketturtle.com/modules....&artid=7&page=1

Keep in mind that the imap rpms are not compatible with the existing PSA courier imap rpms. The docs on my site tell you what you need to back up.

Side note, I was a founder of plesk, not an employee icon_smile.gif
bobk
All the more impressive. Your site and the Plesk add-ins and RPMs are great.
Ric
Plesk 6.0 does not come with 4.3.x?

We are waiting for the backup utils to be released before we upgrade to 6 but I was hoping PHP would be incremented.

A client has been requesting it but I would need a pretty compelling reason to risk this installation on a production box. Maybe I will move them to a newer box with fewer clients, I can just imagine 3 or 4 days of dealing with peoples broken PHP scripts.
bobk
Plesk doesn't really "come with" anything, for the most part it uses whatever packages are installed. Since Red Hat 7-9 only come with PHP 4.1-4.2, you have to update it if you want 4.3.x. It's basically a Red Hat upgrade, not a Plesk upgrade. But Scott's rpm's make it an awful lot easier, and he includes some heads-up for Plesk compatibility.
Ric
Come to think of it, I guess I have always had to increment php manually, even on Plesk 2.x standard.

I read through his documentation and also ran down some other issues on scripts I know are running on the box in question. That is just not an option at this point with a lot of clients on the box. There are dozens and dozens of scripts that would be effected and probably require re-installation.

At the very least I would have to schedule a maint window and warn everyone to back up their scripts and data, then do the upgrade right after a complete backup. Even at that, what a mess, I would be on the phone for two weeks straight with people complaining about having to re-install their board and gallery and God knows what else.

I think the best way to deal with it is upgrade the next box we get before I put clients on it and if anyone needs 4.3.x, they can move with the knowledge that our restore of their site to the new machine will break all their php scripts.
rkelley
Has anybody successfully done this upgrade with PSA 6 and RH 9?

If so would you be willing to help me a bit. I totally F***** things up last night. (had to have a restore done)

Thanks,

rkelley
atomicturtle
Sure, Ive done it on RH9 many times, there are RH9 4.3.2 RPM's on my site here:

http://www.atomicrocketturtle.com/psa/RPMS/9/

and for the src.rpms

http://www.atomicrocketturtle.com/psa/SRPMS/

Make sure you get the version 4.3.2-3 ones, 4.3.2-1 are for RH7.1-7.3
rkelley
so which set do i need to download and get to work? Also i have looked at your install instructions and that is what i was following, i thought, but i started getting all sorts of dependency problems last night.

Funny thing is i have another server running RH 7.3 and PSA 5 that i have done the upgrade on a few months ago, but i cant remember if i built it manually from the tar.gz file or what.

Your help is greatly appreciated

thanks
atomicturtle
Go here: http://www.atomicrocketturtle.com/psa/RPMS/ and pick your distro version (7.2, 7.3, or 9) then download the 4.3.2 rpms for your OS
rkelley
those are the ones that i downloaded last night.
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-2009 Invision Power Services, Inc.