HELP:Redhat 9 PHP, problem in upgrading from php-4.2.2-17 to php-4.3.6
所在版块:社会百科 发贴时间:2004-05-19 12:13

用户信息
复制本帖HTML代码
高亮: 今天贴 X 昨天贴 X 前天贴 X 
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.

Really appreciate!
.
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!

Put your OWN COOL signature here!
 相关帖子 我要回复↙ ↗回到正文
HELP:Redhat 9 PHP, problem in upgrading from php-4.2.2-17 to php-4.3.6 喔喔   (2464 bytes , 497reads )
试一试source code 三万英尺   (32 bytes , 136reads )
可能是用的php rpm不是给redhat 9的 三万英尺   (25 bytes , 191reads )
hmm, one suggestion MrDJay   (153 bytes , 181reads )