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

Wrong php.ini path ? #92

Closed
orangevinz opened this issue Oct 15, 2018 · 4 comments
Closed

Wrong php.ini path ? #92

orangevinz opened this issue Oct 15, 2018 · 4 comments

Comments

@orangevinz
Copy link

ADD symfony.ini /etc/php7/php-fpm.d/

Hi,
Thanks for this really clean stack!

I had some troubles to set the date.timezone loaded from the symfony.ini file
Instead of :
/etc/php7/php-fpm.d/

The correct path seems to be :
/etc/php7/conf.d

Regards

@eko
Copy link
Owner

eko commented Oct 16, 2018

Hello @orangevinz,

I think you are talking about the cli? Indeed, this configuration is set for the fpm part of PHP.

I think you can try to add a second line with this path into your Dockerfile in order to have both fpm and cli configuration with correct date timezone.

Let me know if you encounter any issue.

Thank you

@orangevinz
Copy link
Author

Hey,

I customized the stack to suit to my needs so maybe I missed something but my whole SF4 app and the phpinfo() gave me the default date.timezone if I'm not using the /etc/php7/conf.d path,
but I'm not an expert ;-)

🍊

@eko
Copy link
Owner

eko commented Oct 16, 2018

I will give a look at it tonight and will keep you informed but if it is working for you, I think you are right ;)

@eko eko closed this as completed in 046fcc8 Oct 21, 2018
eko added a commit that referenced this issue Oct 21, 2018
Fixed Symfony php-fpm's configuration file path (fixes #92)
@eko
Copy link
Owner

eko commented Oct 21, 2018

Hello @orangevinz,

I confirm you were right on this issue, I've fixed the path to /etc/php7/conf.d/ as indeed, /etc/php7/php-fpm.d/ is the path for configuration php-fpm pools.

Thanks

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