Saturday, June 11, 2011

How to update Apache on direct admin

//** For example steps are as follows **// :--

Changes with Apache 2.0.59

from 2.x to 2.0.59
Code:

cd /usr/local/directadmin/customapache
rm -fr build
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build update_data_ap2
./build clean
./build apache_2
./build php_ap2 n
./build mod_frontpage_ap2
./build mod_perl_ap2
./build zend
/sbin/service httpd restart

from 1.3.x to 2.0.59
Code:

cd /usr/local/directadmin/customapache
rm -fr build
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build update_data_ap2
./build convert
./build clean
./build apache_2
./build php_ap2 n
./build mod_frontpage_ap2
./build mod_perl_ap2
./build zend
/sbin/service httpd restart

And all set.

No comments:

Post a Comment