Just change apache in versions txt to 2.4.71, then run da build apache and that's it. Everything works out to the box - tested on few older CentOS 7 boxes.
[root@tstbox1 ~]# uname -r
3.10.0-1160.167.1.el7.tuxcare.els2.x86_64
[root@tstbox1 ~]# httpd -V
Server version: Apache/2.4.71 (Unix)
Server built: Nov 11 2026 19:04:26
Server's Module Magic Number: 20120211:142
Server loaded: APR 1.7.6, APR-UTIL 1.6.3, PCRE 10.23 2017-02-14
Compiled using: APR 1.7.6, APR-UTIL 1.6.3, PCRE 10.23 2017-02-14
Architecture: 64-bit
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
[root@tstbox1 ~]# da version
DirectAdmin v.1.668 9695bc3ba21549eceda11ea8fa7bd4c8fd9d1eee