Then, I updated Apache to 2.4.41 for HTTP2 support, now that doesn’t work anymore
and I can’t use (example) php 5.6 together with 7.2 by that method.
I get errors like
[Tue Jun 30 21:41:21.178328 2020] [fcgid:warn] [pid 21288:tid 140179729569536] (104)Connection reset by peer: [client 95.239.xxx.137:51282] mod_fcgid: error reading data from FastCGI server
[Tue Jun 30 21:41:21.178355 2020] [core:error] [pid 21288:tid 140179729569536] [client 95.239.xxx.137:51282] End of script output before headers: index.php
initially it seemed a suexec issue for docroot but then I recompiled suexec with the correct /home, so it’s not the issue, I also tried to disable opcache for php 5.6 and not even that. Error logs don’t contain anything to start. It’s really weird at the moment.
From command line, by
php56 phpinfo.php
or
php56 index.php
I can regularly see the file content, so it’s just a web issue to solve.
I’m thinking of an issue with the latest virtualmin versions rather than httpd because I remember that I tested the websites after the httpd replacement. So, it could be something you did related to php fpm which prevents php fpm to work together fcgid into another directory even if
ProxyPass /mydir !
before the ProxyPassMatch directive
So, please, I need help about this. Thanks
together with expires and deflate rules at server config level instead of inside a directory…and the ProxyPass “cache” (now set to retry=0), but that’s really weird because never done before…I will check this behavior over time