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
No way to get errors from php:7.2-fpm-alpine #690
Comments
In the Dockerfile php/7.2/alpine3.7/fpm/Dockerfile Lines 190 to 200 in b9d625c
For why this is: #358 (comment)
|
When using the FPM variants, the 9000 port is not exposing the HTTP protocol, but is rather exposing the FastCGI protocol, so in order to do anything useful with it, you'll need something like NGINX or Apache in front translating HTTP requests to and from FastCGI. There are also tools like |
Hmmm, Since xdebug uses port 9000 by default (which i rather want not to change), I might not be interested in php-fpm (anymore). @wglambert @tianon thanks for the help |
@RoestVrijStaal there is no problem with fpm and xdebug on port 9000. |
Hi,
I stole a docker building for my own purpose: https://github.com/FabianMartin/docker-php-symfony/blob/master/alpine-php/7.2-xdebug
Unfortunately I got "connection reinitialised" at each time accessing the site via the browser (e.g. 127.0.0.1:9000). It's very hard to debug because I don't get any error messages from the php-fpm docker service.
I see php:7.2-fpm-alpine uses /proc/self/fd/2 and so do the files in the repository I linked above.
Unfortunately I don't get any errors in my console. Trying to let them output in /var/log/error.log in my container didn't work. /var/log/error.log isn't even created.
How to fix? Any ideas are welcome.
The text was updated successfully, but these errors were encountered: