If this worked with httpd24-httpd-2.4.25-9.el7 it's likely because mod_http2 wasn't installed. 1) scl enable httpd24 'apachectl configtest' 2) service httpd24-httpd configtest ^ those are supported ways to run apachectl, running apachectl directly from outside the SCL environment is not expected to work.