Apache with mod_php

ASap

Verified User
Joined
May 3, 2013
Messages
99
Location
the land of the long white cloud
Code:
...Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Enabling httpd in systemd...
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 2.1.2.4 for your server IP
**************************************

Apache 2.4.27 and higher will not negotiate http2 with mpm_prefork. Please do not use mod_php or disable http2 in the directadmin.conf
https://www.apache.org/dist/httpd/CHANGES_2.4.27

**************************************
Restarting apache.
Job for httpd.service canceled.
Found /usr/local/directadmin/custombuild/mod_ruid2-0.9.8.tar.bz2
Extracting /usr/local/directadmin/custombuild/mod_ruid2-0.9.8.tar.bz2...
I don't have any issue on sites running with mod_php and http2, should I disable http2 anyway?
 
It doesn't work anyway with mod_php, so you can disable http2, you will get rid of this notice.
I presume you do use mod_ruid2 with mod_php as this is advisable.
 
I don't think it will make any difference As far as I know http2 does not work with mod_php, so also not fcgi if that is running under mod_php.
So since it's not working anyway, there will be no implication disabling it.
 
Hello timtim1234, please create a new thread for your own questions next time.

Since this is very easy I will make an exception.
Login with SSH to your server. Then edit:
/usr/local/directadmin/conf/directadmin.conf
set http2=1 to http2=0 if this line does not exists, just put http2=0 at the end and use a linebreak.
save the file and restart directadmin

You can also do it like this:
Code:
/usr/local/directadmin/directadmin set http2 0
service directadmin restart
 
Back
Top