How to install an SVN version of Apache using Directadmin Custombuild

This is a quick guide to help out those trying to install an NON-RELEASE version of apache. It was made due to intermittent crashes of apache 2.4.25 with HTTP2 on CentOS with DirectAdmin.

You can see the changelog here:

Here is the DirectAdmin discussion this was first reported on:


Here's the fix:

cd /usr/local/directadmin/custombuild
echo "apache2.4:2.4.26:" >> custom_versions.txt #We need to use numbers for versions, since a string, e.g. "x" or "svn" wont work
svn checkout
mv 2.4.x httpd-2.4.26
cd httpd-2.4.26
svn co srclib/apr
cd ..
tar cfvz httpd-2.4.26.tar.gz httpd-2.4.26
./build apache ; ./build php -n ; ./build rewrite_confs
Tags: apache http2 DirectAdmin centos