LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Installing PHP5 and mod_php5 on SuSE 9.3 via terminal (https://www.linuxquestions.org/questions/suse-opensuse-60/installing-php5-and-mod_php5-on-suse-9-3-via-terminal-597606/)

stevec 11-06-2007 04:24 PM

Installing PHP5 and mod_php5 on SuSE 9.3 via terminal
 
I'm trying to install PHP5 and mod_php5 on a production SuSE 9.3 server. The server does not have X so my only access to yast (or anything) is via the terminal.

When I use the terminal yast I can see php5 version 5.1.2 and apache2-mod_php5 version 5.1.2 both as available.

When I attempt to install them though, I get an error: "Package php5-5.1.2-3.1.20060127.i586 was not found on the medium." and a similar error if I try to continue with the mod_php5 install.

Source of installation is: ftp://chuck.ucs.indiana.edu/linux/suse/suse/i386/9.3 and there are no CDs/DVDs even listed as options.

If I just try to do updates through the same server with you they work fine, so I'm sure it's not a problem connecting to the server. This is probably the most perplexing part.


I've also tried downloading and installing RPMs from the internet and installing via:
Code:

rpm -ivh php-5.2.4-3.i386.rpm
Now the downloaded RPM is obviously a different (newer) version than the one in yast. But it gives me a bunch of dependency errors.
Code:

warning: php-5.2.4-3.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        httpd-mmn = 20051115 is needed by php-5.2.4-3
        libaspell.so.15 is needed by php-5.2.4-3
        libc.so.6(GLIBC_2.4) is needed by php-5.2.4-3
        libc.so.6(GLIBC_2.7) is needed by php-5.2.4-3
        libcrypto.so.6 is needed by php-5.2.4-3
        libcurl.so.4 is needed by php-5.2.4-3
        libgmp.so.3 is needed by php-5.2.4-3
        libpspell.so.15 is needed by php-5.2.4-3
        libssl.so.6 is needed by php-5.2.4-3
        php-cli = 5.2.4-3 is needed by php-5.2.4-3
        php-common = 5.2.4-3 is needed by php-5.2.4-3
        rtld(GNU_HASH) is needed by php-5.2.4-3

If I can get either of these versions to work that would be wonderful, I just need something. I'd really like to figure out the top one at some point since it's probably going to prevent me from installing *any* software through yast.

Any help is greatly appreciated. Let me know if there are additional details I can give that might be helpful. Thanks in advance.

{BBI}Nexus{BBI} 11-08-2007 04:38 AM

You could always install apt4suse. Details are here: http://susewiki.org/index.php?title=Install-apt4suse


All times are GMT -5. The time now is 04:18 AM.