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

There doesn't work php5-fpm #1

Open
logvik opened this issue Sep 22, 2015 · 1 comment
Open

There doesn't work php5-fpm #1

logvik opened this issue Sep 22, 2015 · 1 comment

Comments

@logvik
Copy link

logvik commented Sep 22, 2015

Hi, I am very glad to use your solving.
I have tried to run it, but came across to a problem of php-fpm in file startup.sh

root@6bf865a9e6a0:/var/www# /usr/sbin/php5-fpm -c /etc/php5/fpm
PHP: syntax error, unexpected '!' in Unknown on line 1
ERROR: Unable to include /etc/php5/fpm/pool.d/env.conf from /etc/php5/fpm/php-fpm.conf at line 6
ERROR: failed to load configuration file '/etc/php5/fpm/php-fpm.conf'
ERROR: FPM initialization failed

My a question is how it has to work? I think it is error, because doesn't need copy env.conf in pool.d for spawning php-fpm or need to copy to other place, but don't know for a what reasons...

@luiselizondo
Copy link
Member

The problem with both issues reported is because Docker 1.11 introduced new environment variables that are breaking php5-frpm. This is because Docker 1.11 uses some weird syntax to declare environment variables.

I already have a fix in place but I'm still testing it.

@luiselizondo luiselizondo mentioned this issue May 16, 2016
Closed
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