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


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

Rep: Reputation: 15
upgrading PHP on RedHat ES4

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 and downloaded PHP 5.2.0 and:
# 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?

Old 05-07-2007, 07:16 AM   #2
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


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 > Forums > Linux Forums > Linux - Distributions > Red Hat

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

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