Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, I run a Fedora Core 3 dedicated server, rented from Fasthosts. As it's FC3, PHP is only on 4.3 and I need to move to 5.2. I've downloaded ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    5

    Fedora Core 3 - upgrading to PHP5 from an RPM


    Hi all,
    I run a Fedora Core 3 dedicated server, rented from Fasthosts. As it's FC3, PHP is only on 4.3 and I need to move to 5.2. I've downloaded a PHP 5.2.3 RPM from RPMFind.net, and tried to install it, but am getting the following errors:
    Code:
    rpm -Uvh php-5.2.3-2.i386.rpm
    error: Failed dependencies:
            httpd-mmn = 20051115 is needed by php-5.2.3-2.i386
            libc.so.6(GLIBC_2.4) is needed by php-5.2.3-2.i386
            libcrypto.so.6 is needed by php-5.2.3-2.i386
            libcurl.so.4 is needed by php-5.2.3-2.i386
            libssl.so.6 is needed by php-5.2.3-2.i386
            php-cli = 5.2.3-2 is needed by php-5.2.3-2.i386
            php-common = 5.2.3-2 is needed by php-5.2.3-2.i386
            rtld(GNU_HASH) is needed by php-5.2.3-2.i386
            php = 4.3.11-2.8 is needed by (installed) php-ldap-4.3.11-2.8.i386
            php = 4.3.11-2.8 is needed by (installed) php-mysql-4.3.11-2.8.i386
            php = 4.3.11-2.8 is needed by (installed) php-pear-4.3.11-2.8.i386
            php = 4.3.11-2.8 is needed by (installed) php-gd-4.3.11-2.8.i386
            php = 4.3.11-2.8 is needed by (installed) php-devel-4.3.11-2.8.i386
    As i'm more of a Ubuntu person, i'm not quite sure what this is telling me. Is it saying that the things at the end of the list depend on the PHP version that is installed (ie. the version of php-pear i have requires the version of PHP i have)? How can I get around these errors? Is it a case of just find the RPM for each and updating them one by one (but will i keep encountering the same errors!)?

    Cheers,
    Matt

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Posts
    5
    I had a similar experience with upgrading the mysql included with fedora core 3. I had to uninstall it and then recompile from mysql's source.

    Another thing I needed to do was create links in lib to library in lib64. Unfortunately, I don't remember all the details. Hopefully this information gets you started.

  3. #3
    Just Joined!
    Join Date
    Feb 2006
    Posts
    5
    Hi,
    Thanks for the reply. I've been trying various things in the last few days, but have decided it would be easier to buy another server with FC6 and transfer the data across. At least that way, i can start from fresh and make sure everything is done right.

    Matt

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •