System: Redhat 9
Web Server Applications: httpd-2.0.40-21 + mysql-3.23.54a-11 + php-4.2.2-17 (all are installed from Redhat 9 CD)
Reason to upgrade PHP: need to use GD 2 library which is only available in PHP 4.3.x
I downloaded these rpms from http://www.seekbrain.com/downloads/psa/9/ for upgrading:
php-4.3.6-sp.rh9.1.i386.rpm
php-imap-4.3.6-sp.rh9.1.i386.rpm
php-ldap-4.3.6-sp.rh9.1.i386.rpm
php-manual-4.3.6-sp.rh9.1.i386.rpm
php-mysql-4.3.6-sp.rh9.1.i386.rpm
php-odbc-4.3.6-sp.rh9.1.i386.rpm
php-pgsql-4.3.6-sp.rh9.1.i386.rpm
php-snmp-4.3.6-sp.rh9.1.i386.rpm
*******1ST TRY********
===================================
# rpm -Uvh *.rpm
error: Failed dependencies:
libaspell.so.15 is needed by php-4.3.6-sp.rh9.1
libpspell.so.15 is needed by php-4.3.6-sp.rh9.1
===================================
The aspell, which is a spelling checking tool, coming along with RH9 is of version: aspell-0.33.7.1-21
So I tried to upgrade aspell also. I downloaded these rpm packages inside the same dir with the php-4.3.6 rpms
aspell-0.50.3-16.i386.rpm
aspell-devel-0.50.3-16.i386.rpm
aspell-en-0.51-6.i386.rpm
*******2ND TRY*******
===================================
# rpm -Uvh *.rpm
error: Failed dependencies:
libaspell.so.10 is needed by (installed) gnome-spell-0.5-5
libaspell.so.10 is needed by (installed) gedit-2.2.0-1
libpspell_aspell.so.2 is needed by (installed) gnome-spell-0.5-5
libpspell_aspell.so.2 is needed by (installed) gedit-2.2.0-1
libpspell-modules.so.1 is needed by (installed) abiword-1.0.4-2
libpspell-modules.so.1 is needed by (installed) balsa-2.0.6-1
libpspell.so.4 is needed by (installed) gnome-spell-0.5-5
libpspell.so.4 is needed by (installed) gedit-2.2.0-1
libpspell.so.4 is needed by (installed) abiword-1.0.4-2
libpspell.so.4 is needed by (installed) balsa-2.0.6-1
===================================
But this time no upgrade version for either of gnome-spell, gedit, balsa or abiword.
I don't know what to do liao...
Anyone know whether it is safe to use "--nodeps" to force to install php4.3.6? If it is safe, shall I do the force installation with aspell-0.50 or without it (i.e. at the above-mentioned 1ST TRY or 2ND TRY?
Or if you know any other good ways to safely upgrade the PHP to make it work with GD 2, please help me!
The reason I want a SAFE way to upgrade PHP is because the RH9 linux server is running online currently and I can't afford to make any crash to the server.