Knowledgebase


Portal Home > Knowledgebase > Hosting FAQ's > How to update apache to the latest version?

How to update apache to the latest version?

Check the current version of apache by running httpd –v

Then execute the following commands:

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

This should update both the configure options and the version of apache to the most recent version. Once the update is completed,  restart apache:

RedHat:/sbin/service httpd restart

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


Also Read