David, If you want to roll PHP 4.2.2 on RHEL 5 (or CentOS), you have 2 options:
1. Either grab the SRPMS from RHEL 4 and recompile them on RHEL 5 based machines (be prepared to modify the SPEC file a bit) 2. Grab the latest 4.2.x PHP source code, recompile, play with the "configure" parameters. Thanks, Hetz On Sun, Sep 21, 2008 at 10:56 AM, David Harel <[EMAIL PROTECTED]> wrote: > Greetings. > > After avoiding RH solutions as much as I could I now have to deal with RHEL > 5 Server. My customer insists on PHP-4.2.2 but when I try to install it I > get: > # yum install php-4.2.2 > Loading "security" plugin > Loading "rhnplugin" plugin > This system is not registered with RHN. > RHN support will be disabled. > DVD 100% |=========================| 1.3 kB > 00:00 > Setting up Install Process > Parsing package install arguments > No package php-4.2.2 available. > Nothing to do > > So I downloaded the php rpm file: > > # ls > anaconda-ks.cfg install.log krb5-libs-1.2.7-10.i386.rpm scsrun.log > Desktop install.log.syslog php-4.2.2-17.2.i386.rpm > > and then I did:]# yum install php-4.2.2-17.2.i386.rpm > Loading "security" plugin > Loading "rhnplugin" plugin > This system is not registered with RHN. > RHN support will be disabled. > Setting up Install Process > Parsing package install arguments > Examining php-4.2.2-17.2.i386.rpm: php - 4.2.2-17.2.i386 > Marking php-4.2.2-17.2.i386.rpm to be installed > Resolving Dependencies > --> Running transaction check > ---> Package php.i386 0:4.2.2-17.2 set to be updated > --> Processing Dependency: httpd-mmn = 20020628 for package: php > --> Processing Dependency: libcom_err.so.3 for package: php > --> Processing Dependency: libcrypto.so.4 for package: php > --> Processing Dependency: libcurl.so.2 for package: php > --> Processing Dependency: libdb-4.0.so for package: php > --> Processing Dependency: libgd.so.1.8 for package: php > --> Processing Dependency: libgmp.so.3 for package: php > --> Processing Dependency: libltdl.so.3 for package: php > --> Processing Dependency: libpspell-modules.so.1 for package: php > --> Processing Dependency: libpspell.so.4 for package: php > --> Processing Dependency: libssl.so.4 for package: php > --> Processing Dependency: libttf.so.2 for package: php > --> Running transaction check > ---> Package libtool-ltdl.i386 0:1.5.22-6.1 set to be updated > ---> Package gmp.i386 0:4.1.4-10.el5 set to be updated > ---> Package openssl097a.i386 0:0.9.7a-9 set to be updated > ---> Package php.i386 0:4.2.2-17.2 set to be updated > --> Processing Dependency: httpd-mmn = 20020628 for package: php > --> Processing Dependency: libcom_err.so.3 for package: php > --> Processing Dependency: libcurl.so.2 for package: php > --> Processing Dependency: libdb-4.0.so for package: php > --> Processing Dependency: libgd.so.1.8 for package: php > --> Processing Dependency: libpspell-modules.so.1 for package: php > --> Processing Dependency: libpspell.so.4 for package: php > --> Processing Dependency: libttf.so.2 for package: php > --> Finished Dependency Resolution > Error: Missing Dependency: libcom_err.so.3 is needed by package php > Error: Missing Dependency: libpspell.so.4 is needed by package php > Error: Missing Dependency: libpspell-modules.so.1 is needed by package php > Error: Missing Dependency: libdb-4.0.so is needed by package php > Error: Missing Dependency: libgd.so.1.8 is needed by package php > Error: Missing Dependency: libttf.so.2 is needed by package php > Error: Missing Dependency: httpd-mmn = 20020628 is needed by package php > Error: Missing Dependency: libcurl.so.2 is needed by package php > > > -- > Thanks. > > David Harel, > > ================================== > > Home office +972 77 7657645 > Fax: +972 77 7657645 > Cellular: +972 54 4534502 > Snail Mail: Amuka > D.N Merom Hagalil > 13802 > Israel > Email: [EMAIL PROTECTED] > > -- Skepticism is the lazy person's default position. my blog (hebrew): http://benhamo.org ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]