LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 05-07-2007, 05:56 AM   #1
koobi
Member
 
Registered: Jun 2006
Location: Colombo, Sri Lanka
Distribution: Ubuntu
Posts: 103

Rep: Reputation: 15
upgrading PHP on RedHat ES4


Hi,
I'm new to RedHat, been a Debian user for a while though.

I'm running RH ES4 with Plesk.

I'm trying to upgrade my PHP via RPM (I have also installed DAG on it).

I went to rpmfind.net and downloaded PHP 5.2.0 and:
Code:
# rpm -Uvh php-5.2.0-1.rhel4.ct.i386.rpm 
error: Failed dependencies:
        php-cli = 5.2.0-1.rhel4.ct is needed by php-5.2.0-1.rhel4.ct.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-pear-4.3.9-3.22.4.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-ldap-4.3.9-3.22.4.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-devel-4.3.9-3.22.4.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-imap-4.3.9-3.22.4.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-mysql-4.3.9-3.22.4.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-domxml-4.3.9-3.22.4.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-gd-4.3.9-3.22.4.i386
        php = 4.3.9-3.22.4 is needed by (installed) php-mbstring-4.3.9-3.22.4.i386
        php <= 4.4.0 is needed by (installed) php-sqlite2-1.0.2-200608291859.i386

I attempted to update each module one at a time but I get dependecy errors. Is this normal in RedHat? and if so, how should I remedy the problem?

Thanks
 
Old 05-07-2007, 07:16 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Install all of the packages at the same time, for example; rpm -Uvh php*.rpm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RedHat ES4- Can't Ping Gateway brigo Linux - Networking 3 02-09-2006 02:25 PM
upgrading php with gd on a redhat 9 Goofyhmg Linux - Software 0 08-22-2005 07:57 PM
Upgrading PHP on RedHat 8.0 fishsponge Linux - Software 0 10-21-2004 11:15 AM
Upgrading Apache/PHP on Redhat 9 Djelibeybi Linux - Software 3 07-06-2004 02:09 PM
PHP and MySQL after upgrading Redhat Shinjuku Linux - Software 5 05-02-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration