HELP:Redhat 9 PHP, problem in upgrading from php-4.2.2-17 to php-4.3.6
登录 | 论坛导航 -> 华新鲜事 -> 社会百科 | 本帖共有 4 楼,分 1 页, 当前显示第 1 页 : 本帖树形列表 : 刷新 : 返回上一页
<<始页  [1]  末页>>
作者:喔喔 (等级:2 - 初出茅庐,发帖:36) 发表:2004-05-19 12:13:12  楼主  关注此帖
HELP:Redhat 9 PHP, problem in upgrading from php-4.2.2-17 to php-4.3.6
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!
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表
作者:MrDJay (等级:10 - 炉火纯青,发帖:10172) 发表:2004-05-20 17:53:31  2楼
hmm, one suggestion
maybe step by step, upgrade aspell first?

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


I keep finger acrossed, just a suggestion


good luck

欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表
作者:三万英尺 (等级:2 - 初出茅庐,发帖:95) 发表:2004-05-20 21:28:57  3楼
可能是用的php rpm不是给redhat 9的
小心安装。再找找合适的rpm
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表
作者:三万英尺 (等级:2 - 初出茅庐,发帖:95) 发表:2004-05-20 21:34:10  4楼
试一试source code
欢迎来到华新中文网,踊跃发帖是支持我们的最好方法!原文 / 传统版 / WAP版只看此人从这里展开收起列表
论坛导航 -> 华新鲜事 -> 社会百科 | 返回上一页 | 本主题共有 4 篇文章,分 1 页, 当前显示第 1 页 | 回到顶部
<<始页  [1]  末页>>

请登录后回复:帐号   密码