Find the answer to your Linux question:
Results 1 to 4 of 4
I need to upgrade php to the latest version I am running suse 10 I hunted round for the rpm's and came up with Index of /update/10.3/rpm/i586 I then tried ...
  1. #1
    STD
    STD is offline
    Just Joined!
    Join Date
    Sep 2008
    Posts
    3

    need help upgrading php to 5.2.6

    I need to upgrade php to the latest version

    I am running suse 10

    I hunted round for the rpm's and came up with Index of /update/10.3/rpm/i586

    I then tried the following command

    Code:
    rpm - UvF php5-5.2.6-0.1.i586.rpm \
    pcre-devel-7.2-14.6.i586.rpm \
    apache2-mod_php5-5.2.6-0.1.i586.rpm php5-bcmath-5.2.6-0.1.i586.rpm \
    php5-bz2-5.2.6-0.1.i586.rpm php5-calendar-5.2.6-0.1.i586.rpm php5-ctype-5.2.6-0.1.i586.rpm \
    php5-curl-5.2.6-0.1.i586.rpm php5-dba-5.2.6-0.1.i586.rpm php5-dbase-5.2.6-0.1.i586.rpm \
    php5-devel-5.2.6-0.1.i586.rpm php5-dom-5.2.6-0.1.i586.rpm php5-exif-5.2.6-0.1.i586.rpm \
    php5-ftp-5.2.6-0.1.i586.rpm php5-gd-5.2.6-0.1.i586.rpm php5-gettext-5.2.6-0.1.i586.rpm php5-gmp-5.2.6-0.1.i586.rpm \
    php5-iconv-5.2.6-0.1.i586.rpm php5-imap-5.2.6-0.1.i586.rpm php5-ldap-5.2.6-0.1.i586.rpm \
    php5-mbstring-5.2.6-0.1.i586.rpm php5-mcrypt-5.2.6-0.1.i586.rpm php5-mhash-5.2.6-0.1.i586.rpm \
    php5-mysql-5.2.6-0.1.i586.rpm php5-ncurses-5.2.6-0.1.i586.rpm php5-odbc-5.2.6-0.1.i586.rpm \
    php5-openssl-5.2.6-0.1.i586.rpm php5-pcntl-5.2.6-0.1.i586.rpm php5-pdo-5.2.6-0.1.i586.rpm \
    php5-pear-5.2.6-0.1.i586.rpm php5-pgsql-5.2.6-0.1.i586.rpm php5-posix-5.2.6-0.1.i586.rpm \
    php5-pspell-5.2.6-0.1.i586.rpm php5-shmop-5.2.6-0.1.i586.rpm php5-snmp-5.2.6-0.1.i586.rpm \
    php5-soap-5.2.6-0.1.i586.rpm php5-sockets-5.2.6-0.1.i586.rpm php5-sqlite-5.2.6-0.1.i586.rpm \
    php5-sysvmsg-5.2.6-0.1.i586.rpm php5-tokenizer-5.2.6-0.1.i586.rpm php5-wddx-5.2.6-0.1.i586.rpm \
    php5-xmlrpc-5.2.6-0.1.i586.rpm php5-xmlwriter-5.2.6-0.1.i586.rpm php5-xsl-5.2.6-0.1.i586.rpm \
    php5-zlib-5.2.6-0.1.i586.rpm libcurl4-7.16.4-16.3.i586.rpm \
    php5-fastcgi-5.2.6-0.1.i586.rpm \
    php5-sysvshm-5.2.6-0.1.i586.rpm \
    php5-sysvsem-5.2.6-0.1.i586.rpm \
    php5-xmlreader-5.2.6-0.1.i586.rpm \
    libpng-1.2.18-15.4.i586.rpm \
    libxml2-devel-2.6.30-4.2.i586.rpm \
    libmysqlclient15-5.0.45-22.5.i586.rpm \
    libcurl4-7.16.4-16.2.i586.rpm
    This gave me the following error

    error: Failed dependencies:
    libcurl.so.4 is needed by php5-curl-5.2.6-0.1.i586
    libdb-4.5.so is needed by php5-dba-5.2.6-0.1.i586
    libxml2-devel is needed by php5-devel-5.2.6-0.1.i586
    pcre-devel is needed by php5-devel-5.2.6-0.1.i586
    libt1.so.5 is needed by php5-gd-5.2.6-0.1.i586
    libc-client.so.2006c1_suse is needed by php5-imap-5.2.6-0.1.i586
    libmysqlclient.so.15(libmysqlclient_15) is needed by php5-mysql-5.2.6-0
    1.i586
    libpq.so.5 is needed by php5-pgsql-5.2.6-0.1.i586
    libnetsnmp.so.15 is needed by php5-snmp-5.2.6-0.1.i586
    libsqlite.so.0 is needed by php5-sqlite-5.2.6-0.1.i586

    I had included
    libcurl.so.4 , libxml2-devel , pcre-devel, libmysqlclient.so.15(libmysqlclient_15) in the above

    The rest aren't on the archive

    Any help would be appreciated

  2. #2
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    well the problem is a simple one you are trying to update suse10 using packages from 10.3 you will obviously get dependency errors as them packages in suse 10 are a bit dated your best bet is too upgrade to 10.3 or 11 solve most of your problems

  3. #3
    STD
    STD is offline
    Just Joined!
    Join Date
    Sep 2008
    Posts
    3
    Quote Originally Posted by scrarfussi View Post
    well the problem is a simple one you are trying to update suse10 using packages from 10.3 you will obviously get dependency errors as them packages in suse 10 are a bit dated your best bet is too upgrade to 10.3 or 11 solve most of your problems
    That makes sense

    Is there a place I can find php rpm's for Suse 10?

    I am on SUSE Linux Enterprise Server 10

    Or I am I better off ignoring the rpm and just trying to downloading the php source and compiling it?

  4. #4
    Linux Engineer scrarfussi's Avatar
    Join Date
    Aug 2006
    Posts
    1,029
    you wont get newer sources for sles 10 for it was discontnued u may also run into problems if you get php from source especially if it requires a newer package to complie eg a newer ver of gcc or make any way good luck

Posting Permissions

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