4) Compiling and Installing Apache 
1From the shell, type:
cd /usr/local/src/apache_xxx
./configure --prefix=/usr/local/etc/httpd --activate-module=src/modules/php4/libphp4.a
make
2Now shut down Apache to install in new binaries:
/usr/local/etc/httpd/bin/apachectl stop
3Now install Apache:
make install
User Contributed Notes: 4) Compiling and Installing Apache Add a Comment