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

Comments

Projects
None yet
2 participants
@orangevinz

orangevinz commented Oct 15, 2018

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

This comment has been minimized.

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

This comment has been minimized.

orangevinz commented Oct 16, 2018

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

This comment has been minimized.

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 in 046fcc8 Oct 21, 2018

eko added a commit that referenced this issue Oct 21, 2018

Merge pull request #93 from eko/fixed-symfony-fpm
Fixed Symfony php-fpm's configuration file path (fixes #92)
@eko

This comment has been minimized.

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