1.Download the latest version from http://httpd.apache.org/download.cgi
2.Move the downloaded file to Solaris machine
3.Extract and untar the source file
# gzip -d httpd-NN.tar.gz
# tar xvf httpd-NN.tar
(NN-version of the apache server)
4.Change the directory
# cd httpd-NN
5.Configure the source
# ./configure --prefix=PREFIX
(PREFIX is specified based on a requirement)
Example : ./configure --prefix=/opt --enable-rewrite=shared --enable-speling --enable-ssl --enable-proxy-http=shared --enable-proxy=shared --with-ssl=/opt
6.To Compile.Enter:
# make
(make should be added on PATH variable)
7.To Install.Enter:
# make install
8.To Customize the configuration file
# vi Apache_Home/conf/httpd.conf
9.To Test Apache
# Apache_Home/bin/apachectl configtest
10.if SYNTAX OK then start the server
# Apache_Home/bin/apachectl start