Upgrading Apache MySQL PHP on RH9
Hi
I've finally gotten around to building a small linux box at home so that I can experiment with PHP/MySQL and server admin without having to use my live webserver.
I've installed Red Hat Linux 9 and would like to upgrade from the installed versions of Apache, PHP, MySQL
I'm a complete Linux newbie so all this is starting to get frustrating to say the least. I've nearly packed it all in more than once this weekend! I've got the Red Hat Linux 9 Bible which is OK as long as things work first time. I've managed to install RH9 onto my machine and I can access it from my main desktop using the linux machine's IP address (192.168......). I've even been able to access the web files so I had thought I was doing OK.
Problem I have is trying to upgrade Apache/PHP/MySQL.
I managed to upgrade MySQL to 4.0.20 using the instructions in another thread 176196 here (can't post the URL as this is my first post).
I've tried to upgrade Apache to 2.0.49 but get this error message.
[root@localhost rpm]# rpm -U httpd-2.0.49-4.i386.rpm
warning: httpd-2.0.49-4.i386.rpm: V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
libapr-0.so.0 is needed by httpd-2.0.49-4
libaprutil-0.so.0 is needed by httpd-2.0.49-4
libdb-4.2.so is needed by httpd-2.0.49-4
pcre < 4.0 conflicts with httpd-2.0.49-4
httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5
httpd-mmn = 20020628 is needed by (installed) mod_auth_mysql-1.11-12
httpd-mmn = 20020628 is needed by (installed) mod_auth_pgsql-0.9.12-14
httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21.11
httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-4
httpd-mmn = 20020628 is needed by (installed) php-4.2.2-17.2
libapr.so.0 is needed by (installed) mod_perl-1.99_07-5
libaprutil.so.0 is needed by (installed) mod_perl-1.99_07-5
I've downloaded and installed apt after reading a few threads here.
I've tried apt-get upgrade apache and this downloaded 155Mb of rpms and seemed to install those OK.
But, it doesn't seem to have worked
[root@localhost rpm]# rpm -qa |grep httpd
httpd-manual-2.0.40-21.11
httpd-2.0.40-21.11
redhat-config-httpd-1.0.1-18
I'm now lost as to what to do. I tried the above rpm -U command and got the same error message.
Help!
Thanks.
|