-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP74 apache buster HTTP2 not working #927
Comments
Currently the apache variant doesn't support http2 as it uses
There's currently a PR open for this #785 and a discussion on http2 at #558
|
So I must just wait? Thanks ;) |
I would recommend that if you need HTTP2 support, you should switch to FPM
and put something like NGINX in front.
|
This is not a solution to the problem but a workaround. Besides, if you offer a ready image with an apache and a buster, why even add Nginx? I prefer to wait for some other solution, but thank you for the suggestion;) |
Using FPM + NGINX is not just a workaround, but is the only currently-supported solution to your use case. 😕 Either way, I'm closing this as a duplicate of #558, where HTTP/2 support is being discussed. 👍 |
@michaljusiega How about using httpd + php with one of the
Mount the files you're serving under To consistently handle error responses when using httpd's ProxyErrorOverride On
# Except for scripts that return JSON
<Directory /var/www/your_project/ajax/>
ProxyErrorOverride Off
</Directory |
Hello.
I'm using a 7.4.0-apache-buster image from your docker-hub.
I'm using SSL on Apache in vhost, but I can't run h2 / h2c.
The problem only occurs because PHP SAPI is: ApacheHandler and HTTP2 Apache requires PHP-FPM and mpm_prefork probably.
How to quickly and painlessly start HTTP2 using the basis of your image?
The text was updated successfully, but these errors were encountered: