Want to use php 5.1 instead of php 5.3 on RHEL 6.2

Solution Unverified - Updated -

Issue

  • In process of migrating web server from RHEL 5 to RHEL 6.2, the deafult php edition in rhel 6.2 is 5.3 but web pages are not working properly in PHP 5.3. So uninstalling php5.3 from RHEL 6.2 and installing php 5.1 showing lot of dependency problem.

  • While trying to install php-cli-5.1.6-5.el5.x86_64.rpm

[root@xyz]# rpm -ivh php-cli-5.1.6-5.el5.x86_64.rpm 
warning: php-cli-5.1.6-5.el5.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 37017186: NOKEY
error: Failed dependencies:
    libaspell.so.15()(64bit) is needed by php-cli-5.1.6-5.el5.x86_64
    libcrypto.so.6()(64bit) is needed by php-cli-5.1.6-5.el5.x86_64
    libcurl.so.3()(64bit) is needed by php-cli-5.1.6-5.el5.x86_64
    libdb-4.3.so()(64bit) is needed by php-cli-5.1.6-5.el5.x86_64
    libpspell.so.15()(64bit) is needed by php-cli-5.1.6-5.el5.x86_64
    libssl.so.6()(64bit) is needed by php-cli-5.1.6-5.el5.x86_64

Environment

  • Red Hat Enterprise Linux 6.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.