Updating Apache to the latest version


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » Apache Related Information
Top Level » CustomBuild

Updating Apache to the latest versionLast Modified: Oct 18, 2012, 2:42 pm
You can check the current version of apache by running

/usr/sbin/httpd -v





CustomBuild - current

If you're using custombuild (as most new boxes are), run the following

cd /usr/local/directadmin/custombuild
./build update
./build apache
./build php n
./build rewrite_confs





CustomApache - end-of-life

If you are using customapache with the 1.3 version of apache to the most recent, run the following:

cd /usr/local/directadmin/customapache
./build clean
./build update
./build apache_mod_ssl

If you're using apache 2.x, use "./build apache_2" instead of apache_mod_ssl.
This should update both the configure options and the version of apache to the most recent version.  Once the update has completed, you'll need to restart apache:

RedHat:

/sbin/service httpd restart


FreeBSD:

/usr/local/etc/rc.d/httpd restart


2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST