• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

how do I uprading php 4.2 to 4.3.11 on plesk 7.5 reloaded

P

pdubbb1

Guest
I wish to upgrade php4.2 to 4.3 on plesk 7.5 reloaded. my operating system redhat 9 on a virtuoso virtual dedicated server.
Can anyone please give me a step by step instructions on how I can do this upgrade.
 
Hello:

First, PSA uses the PHP rpm's that are distributed with the OS. You can, however, make use of whatever RPM's you'd like. I should note, that certain things like webmail may care about PHP, so perform these upgrades at your own risk.

Next, you should bookmark www.atomicrocketturtle.com (aka. ART). Very nice resource for PSA tweaks and RPM's that you can use to customize your PSA installation.

As for PHP, ART has RPM's for php 4.3.11 on RH 9. They are located here: http://www.atomicrocketturtle.com/atomic/art/9/RPMS/.

Download php-4-3-11-8.rh90.art.i386.rpm and whatever php extensions you need. If you do an rpm -qa |grep php on your server, you can get a list of what is currently installed - you will at least need the newer versions of these RPM's in order to upgrade.

Once these RPM's are on your server, you can perform an rpm -Uvh php*.rpm in the directory where you placed these php RPM's. You will need to restart Apache (service httpd restart or /etc/init.d/httpd restart or /etc/rc.d/init.d/httpd restart - whatever floats your boat) in order for the new version to become active. You should test after you perform the upgrade. It would also be a good idea to have the original RPM's around in case you need to revert for any reason. It would also be a good idea to make backups of /etc/php.ini and /etc/php.d/.

I would recommend checking out ART as he has other mechanisms you can use, namely using yum to do these type of upgrades. Regardless, this should get you started.

Good luck.

Steve
 
thanx for the info, nut how do I install yum and should I stop plesk before I do install?
 
Is ART missing the file php-manual-4.3.11????? Or does this linked to something I have installed extra?
 
To install YUM;
http://www.rpmfind.net/linux/rpm2html/search.php?query=yum

find an rpm for your OS and install it... You might need a few dependencies so look them up on rpmfind.net as well.....

After installed, edit your /etc/yum.conf file with A.R.T.s channels...

He has explanations at the very bottom of his repositories.... Read them!

hope this helps.

-poke
 
My php rpm is based on the FC2 rpm, which no longer bundled the php-manual package (it was 50 megs and honestly, did you ever use it? I didnt either).
 
php rpm

Atomicrocketturtle do you have a snmp rpm for plesk 7.5 version version of php?
 
Yes, php-snmp, imap, mcrypt, mhash, mysql, odbc, and a bunch of other things Im forgetting. I think its between 14 and 17 rpms now (not including dependencies).
 
dependencies

ART, where can I get the dependencies and how do I install them?
 
installing yum

tried installing yum manually and it asked me for dependencies that werent rpms. they were src.rpms. How do I install these rpms?
 
Im sure they were regular old binary rpms. src.rpms are what you use to create binary rpms, so unless you're an rpm packager, you'll probably never ever touch one of them.
 
yum install

so which yum rpm can I use that I can just install on its own with out any dependencies?
 
They all require other components to operate, you'll need to resolve those dependency issues manually (or perhaps through up2date) before you can use it
 
Yep, yum should do it for you automatically. You might have to use "yum upgrade" instead of "yum update" on older versions.
 
Back
Top