PDA

View Full Version : Upgrading PHP and GD2 on Plesk


flashwebhost
24th September 2005, 06:07 AM
Hi,

I am want to upgrade PHP with GD2 on a Pleask server


cat /usr/local/psa/version
7.5.2 RedHat 9 75050128.10


Current PHP and GD versions are


PHP Version 4.2.2
GD Version 1.6.2 or higher



I tryed to upgrade with yum


yum upgrade php
yum upgrade gd


yum.conf is as per

http://www.atomicrocketturtle.com/atomic/


# yum upgrade gd
....
....
Finding updated packages
Downloading needed headers
Finding obsoleted packages
No Upgrades available for gd.

# rpm -qa|grep gd
gdbm-1.8.0-20
sysklogd-1.4.1-12
gd-1.8.4-11.1.legacy


# yum upgrade php
....
....
......Unable to satisfy dependencies
Package php-manual needs php = 4.2.2-17.14.legacy, this is not available.

# rpm -qa|grep php
php-manual-4.2.2-17.2.2.swsoft
php-4.2.2-17.2.2.swsoft
php-snmp-4.2.2-17.2.2.swsoft
php-imap-4.2.2-17.2.2.swsoft
php-odbc-4.2.2-17.2.2.swsoft
php-devel-4.2.2-17.2.2.swsoft
php-mysql-4.2.2-17.2.2.swsoft
php-ldap-4.2.2-17.2.2.swsoft
php-pgsql-4.2.2-17.2.2.swsoft



I need upgrade PHP with GD2, how i do this ?

Regards,

Yujin

phoenixisp
24th September 2005, 09:59 AM
Do this:

#yum remove php-manual

Then:

#yum update php

Once that is done, download the php-gd rpm that matches your version of php. You should find it here:

http://fr2.rpmfind.net/linux/rpm2html/search.php?query=gd2

flashwebhost
24th September 2005, 12:26 PM
Thanks a lot :D

It worked great. Now PHP and GD got upgraded.

PHP Version is 4.4.0
GD Version is 2.0.28

What i have done is

yum remove php-manual
yum upgrade php

No need to install GD rpm, it got upgraded itself.

Thanks again.

Regards,

Yujin