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

Issue with php-fpm (already created www pool ?) #38

Merged
merged 3 commits into from
Oct 2, 2016
Merged

Issue with php-fpm (already created www pool ?) #38

merged 3 commits into from
Oct 2, 2016

Conversation

julbrs
Copy link
Contributor

@julbrs julbrs commented Jul 10, 2016

No description provided.

@Draed
Copy link

Draed commented Jul 11, 2016

Hello ,

Is this commit resolve the problem ? (I ask because it does't for me :-/ )
I don't understand why you have changed the port (9000->9001) ?
By the way, the php-fpm dockerfile still expose the 9000 port (forgot or not ?)

@julbrs
Copy link
Contributor Author

julbrs commented Jul 11, 2016

It seems that there is already a www pool created on port 9000 but only for localhost. That's why I have set the 9001 port... (on both php-fpm & nginx) Still working on that..

@eko
Copy link
Owner

eko commented Jul 16, 2016

Hi @bobman38,

I agree with this fix in php-fpm/Dockerfile but can we please keep port 9000 which is the default php-fpm port? If you have a conflict with this port, you can modify it locally, but for this sandbox, I prefer to keep default ports.

Thank you

@CarstenHoyer
Copy link

CarstenHoyer commented Jul 24, 2016

I got around different issues, including these, from using the official PHP image as base. I have a feature branch, that works with PHP7. It also works with the PHP5 fpm alpine image, and the setup from docker-symfony. Except for the symfony.ini part.

I am not going to make a pull request, since this is PHP 7 and I also make some other assumptions. But have a look.

My feature branch

@ozsk
Copy link

ozsk commented Aug 4, 2016

@bobman38

There is a problem with this PR. Probably changes in php-fpm user and group caused PHP exception:
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to write in the logs directory (/var/www/symfony/app/logs)

Did I miss something with privileges?

Ok. Probably it's caused by problems with privileges #7

@Kalyse
Copy link

Kalyse commented Sep 23, 2016

Strange, but i had the same errors, I had to switch to port 9001. No idea why...

@eko eko merged commit ebef719 into eko:master Oct 2, 2016
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

Successfully merging this pull request may close these issues.

None yet

6 participants