登录 | 首页 -> 华新鲜事 -> 社会百科 | 切换到:传统版 / sForum | 树形列表
HELP:Redhat 9 PHP, problem in upgrading from php-4.2.2-17 to php-4.3.6
<<始页  [1]  末页>> 

HELP:Redhat 9 PHP, problem in upgrading from php-4.2.2-17 to php-4.3.6System: 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.

Really appreciate!
[喔喔 (5-19 12:13, Long long ago)] [ 传统版 | sForum ][登录后回复]1楼

hmm, one suggestionmaybe step by step, upgrade aspell first?

eg, force install aspell(force install, not nodeps)


I keep finger acrossed, just a suggestion


good luck

[MrDJay (5-20 17:53, Long long ago)] [ 传统版 | sForum ][登录后回复]2楼

可能是用的php rpm不是给redhat 9的小心安装。再找找合适的rpm[三万英尺 (5-20 21:28, Long long ago)] [ 传统版 | sForum ][登录后回复]3楼

试一试source codehttp://www.php.net/downloads.php[三万英尺 (5-20 21:34, Long long ago)] [ 传统版 | sForum ][登录后回复]4楼


<<始页  [1]  末页>> 
登录 | 首页 -> 华新鲜事 -> 社会百科 | [刷新本页] | 切换到:传统版 / sForum