I'm currently running CentOS 4.4 with Apache/2.0.52 installed via up2date/rpm.
I'm having some trouble getting apr working correctly, so I was going to build apache from source using the following notes:
wget
http://www.apache.org/dist/httpd/httpd-2.0.59.tar.bz2
tar -xjf httpd-2.0.59.tar.bz2
rm -rf httpd-2.0.59.tar.bz2
cd httpd-2.0.59
./configure --prefix=/usr/local/httpd-2.0.59 --enable-mods-shared=all --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr
make
make install
cd /usr/local
ln -s httpd-2.0.59 apache2
My questions are.....
How will it know to use this version of apache rather than than rpm version currently installed? Do I have to remove those apache rpm's?
Will I have have to recompile php and mysql to get them to work with the apache source build since they were installed via rpm as well?
Do my ./configure flags look ok?
Is there a specific order I should build? apache, then php?
Thanks,