Since we now have a new version of MySQL (where before we didn't!), we need to recompile PHP. But if this is the case we might as well upgrade to the latest version. For security's sake we will also upgrade openSSL, which in turn means we should upgrade Apache. (See how Linux becomes a problem?)
wget http://www.openssl.org/source/openssl-0.9.7c.tar.gzUnzip and untar using
gunzip openssl-0.9.7c.tar.gz tar xvf openssl-0.9.7c.tarConfigure it to run in /usr/local/openssl-0.9.7c by running
./Configure threads shared --prefix=/usr/local/openssl-0.9.7c --openssldir=/usr/local/openssl-0.9.7c linux-elfand then
make make install
[root@brainwave rpm]# rpm -e httpd error: Failed dependencies: httpd-mmn = 20020628 is needed by (installed) mod_perl-1.99_07-5 httpd-mmn = 20020628 is needed by (installed) mod_python-3.0.1-3 httpd-mmn = 20020628 is needed by (installed) mod_ssl-2.0.40-21.5 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 webserver is needed by (installed) webalizer-2.01_10-11 httpd >= 2.0.40 is needed by (installed) mod_perl-1.99_07-5 httpd >= 2.0.40 is needed by (installed) mod_python-3.0.1-3 httpd is needed by (installed) redhat-config-httpd-1.0.1-18 httpd is needed by (installed) mod_ssl-2.0.40-21.5Oops, err maybe we don't.
Good job!
Posted by: Markus at December 12, 2006 11:17 PM