Custombuild script Apache php-cgi with Debian 9

ASap

Verified User
Joined
May 3, 2013
Messages
100
Location
the land of the long white cloud
Hi DA Support / smtalk,

It was a known issue where apache mod_php + mod_ruid2 compile has error on Debian 9, but that was like 5 months ago.

I'm wondering if this still an issue now? Because we've been using php-fpm as our 'temporary' solution rather than reloading the whole system using Debian 8.

Please advise. Thanks :eek:
 
The bug is still there. I'd recommend using PHP-FPM or lsphp mode (if you run LiteSpeed webserver).
 
Incompatibility might appear from the absence of htscanner=yes in the options.conf.
 
Everything what's compatible with mod_php (+mod_ruid2) should still be compatible with PHP-FPM. That's what I mean :) The only thing that might not work is php_flag/php_value in .htaccess, but you can enable them with htscanner=yes in the options.conf file of CB.
 
I just tried again and it looks like now I managed to compile using mod_php on Debian 9 (no debug needed, probably this bugs has been fixed by Debian team)

However, I got this message:
Code:
root@cana:/usr/local/directadmin/custombuild# ./build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 1.2.3.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
http://www.apache.org/dist/httpd/CHANGES_2.4.27

**************************************
Restarting apache.
root@cana:/usr/local/directadmin/custombuild#

Should I ignore this message?
 
As far as I see you addressed your questions to DA support and smtalk. In such a case no other is welcomed to post here, or not?

If you need a quicker reply from DA support you'd better open a ticket here:
https://tickets.directadmin.com/
 
Back
Top