Re: PHP on RH 7.0

From: Tom Westheimer (tom_at_westheimers.net)
Date: 01/31/04

  • Next message: James Marcinek: "Upgrading PHP4.2x to 4.3 on Red Hat 9"
    To: redhat-list@redhat.com
    Date: Sat, 31 Jan 2004 16:02:09 -0500
    
    

    Well your suggestion to get all new RPMs with one command sounded too
    good to be true :-) So here is what happened ..
    the first 3 lines are obvious. the phpinfo.php is a web page that one
    can use to test if PHP is running. I didn't realize I had so many
    dependants! :-)
    phpinfo.php = <? phpinfo();?> in the code

    [root@myhost RPMS]# rpm -Uvh *
    error: TRANS.TBL does not appear to be a RPM package
    error: php-4.3.4.tar.gz.tar does not appear to be a RPM package
    error: phpinfo.php does not appear to be a RPM package
    error: failed dependencies:
            php = 4.0.1pl2 is needed by mod_php-4.0.1pl2-9
            glibc >= 2.2 is needed by mysql-3.23.54a-3.70
            libstdc++ >= 2.96-69 is needed by mysql-3.23.54a-3.70
            mysql = 3.23.54a is needed by mysql-devel-3.23.54a-3.70
            mysql = 3.23.54a is needed by mysql-server-3.23.54a-3.70
            libcrypto.so.1 is needed by php-4.1.2-7.0.6
            libssl.so.1 is needed by php-4.1.2-7.0.6
            php = 4.0.1pl2 is needed by php-imap-4.0.1pl2-9
            libcrypto.so.1 is needed by php-imap-4.1.2-7.0.6
            libssl.so.1 is needed by php-imap-4.1.2-7.0.6
            php = 4.0.1pl2 is needed by php-ldap-4.0.1pl2-9
            libcrypto.so.1 is needed by php-ldap-4.1.2-7.0.6
            liblber.so.2 is needed by php-ldap-4.1.2-7.0.6
            libldap.so.2 is needed by php-ldap-4.1.2-7.0.6
            libssl.so.1 is needed by php-ldap-4.1.2-7.0.6
            php = 4.0.1pl2 is needed by php-mysql-4.0.1pl2-9
            php = 4.0.1pl2 is needed by php-pgsql-4.0.1pl2-9

    TIA

    Rodolfo J. Paiz wrote:

    > At 06:45 1/31/2004, you wrote:
    >
    >> OK I found RPM updates for PHP and MYSQL on redhat.com and I have
    >> downloaded them. Do I need to RPM-e the existing version? They don't
    >> seem to be as new as the ones on the offical sites for each product.
    >
    >
    > What you should do is get the newest versions of the RPM packages for
    > Apache, PHP, and MySQL (including related packages like php-mysql).
    > Once you have those all together in a directory, you can upgrade them
    > one by one with the "rpm -Uvh php-4.3.x-x-x-x-x.rpm" command or you
    > can use "rpm -Uvh *" to upgrade all packages in that directory.
    >
    > "rpm -Uvh" will smoothly upgrade existing packages by handling config
    > files gracefully, removing the previous package, and installing the
    > new one. If you installed the new packages with "rpm -i" then you will
    > have to manually remove the older versions.
    >
    > PHP has always worked immediately for me on Red Hat Linux, with no
    > configuration required.
    >
    > Post a specific question with details. For example, in your last email
    > you said "PHP is still not active." How did you decide that? What did
    > you try?
    >
    > And you're in the right place, don't worry about it. This list is for
    > general questions of any type related to Red Hat Linux.
    >
    >

    -- 
    Tom Westheimer
    I use Spamarrest to stop SPAM so please follow the short instructions in  the
    confirmation email one time only to let the "good guys/gals through" :-)
    <a href="http://spamarrest.com/affl?102505">
    <img src="http://spamarrest.com/img/affiliate/ads/emailbanner1.gif?102505" height="31" width="435" border="0"></a>
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: James Marcinek: "Upgrading PHP4.2x to 4.3 on Red Hat 9"

    Relevant Pages

    • Re: [opensuse] building RPMs
      ... The "make install" procedure has some obvious drawbacks you might have ... of your system (RPM database) is a problem, ... checkinstall is a useful tool but has also some drawbacks. ... RPM package on your local system which can then be installed. ...
      (SuSE)
    • Re: Can I retrieve just one file from an rpm archive?
      ... Which type of RPM package do you have? ... then unpack the _whole_ ... Thus, before you force the install, do ...
      (comp.os.linux.misc)
    • Re: How can I extract a single file from an rpm package?
      ... Try rpmdev-extract filename.rpm, it will extract all files in the rpm ... variety of old libraries, most of which I already had. ... take a chance that the other libraries in the rpm package were identical ...
      (comp.os.linux.misc)
    • Re: RedHat 6.x and recent OpenSSH RPMs
      ... >> released RPM 4.x for some of the older OS versions, ... you're pretty screwed for installing any packages whatsoever. ... I was looking for a contemporary OpenSSH package that works with ... more recent RPM package, it's just that the recent authors wrote the SPEC ...
      (comp.os.linux.security)
    • Re: RedHat 6.x and recent OpenSSH RPMs
      ... >> released RPM 4.x for some of the older OS versions, ... you're pretty screwed for installing any packages whatsoever. ... I was looking for a contemporary OpenSSH package that works with ... more recent RPM package, it's just that the recent authors wrote the SPEC ...
      (comp.os.linux.security)