Skip to content
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

PHP-FPM versions is not works #55

Closed
iSynth opened this issue Aug 8, 2018 · 3 comments
Closed

PHP-FPM versions is not works #55

iSynth opened this issue Aug 8, 2018 · 3 comments

Comments

@iSynth
Copy link

iSynth commented Aug 8, 2018

Hi there!

When I use the fpm version, the php-fpm process does not start and the container shutdown without any errors but with the output of sudo usages. In scripts that run automatically when the container starts, there are no commands to run the php-fpm process. Also, there is no launch of the php-fpm process in the Dockerfile.fpm file. I fixed it but your Dockerfile.fpm is not correct.

user@host:~ $ docker run -p 9000:9000 -v /home/user/code:/var/www/html thecodingmachine/php:7.2-v1-fpm

usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
            [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] file ...

user@host:~ $
@moufmouf
Copy link
Member

moufmouf commented Aug 8, 2018

Hi @iSynth ,

Thanks for reporting this issue. I'll look into it.
To be honest, the "apache" and "CLI" variant have been extensively tested, but the PHP-FPM variant is almost untested and needs some work. I lack experience with PHP-FPM.

Would you care sending me the "Dockerfile.fpm" that works for you (or a PR)? I'll merge that as soon as possible.

@iSynth
Copy link
Author

iSynth commented Aug 8, 2018

@moufmouf

yep... soon I'll do a PR.

moufmouf pushed a commit to moufmouf/docker-images-php that referenced this issue Aug 8, 2018
moufmouf added a commit that referenced this issue Aug 8, 2018
@moufmouf
Copy link
Member

moufmouf commented Aug 8, 2018

Closed by #57
Thanks!

@moufmouf moufmouf closed this as completed Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants