Here are the steps >>
1. Make a copy of your current httpd.conf incase you need to roll-back
cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back
2. Download The Apache Tar.Gz File
wget http://www.apache.org/dist/httpd/httpd-2.0.61.tar.gz
3.Extract The File To Your Server
tar -zxvf httpd-2.0.61.tar.gz
4.Move Into The Extracted Folder
cd httpd
5. If you want the default apache configuration then run the Configuration File i.e
./configure
Note : but if you want your current updated apache configuration then make sure to create the phpinfo.php file and copy the available Configure Command as it is and run the full command instead of ./configure
6.Run The Make File
make
7.Run The Install Make File
make install
Start Apache
/etc/init.d/httpd restart
Enjoy:)
0 comments:
Post a Comment