Php: PHP5.6-FPM - php.ini

Created on 3 Jun 2016  路  2Comments  路  Source: docker-library/php

Hi,

How can i change value in php.ini on docker 5.6.22-fpm ?
I would like change default charset value but I do not find that file in docker (only php-fpm.conf or www.conf)
Have you an idea to set this ?

Thanks.
Charlie

Most helpful comment

If it is a configuration within a php.ini file you could add or edit one of the files within /usr/local/etc/php-fpm.d/ and it would be applied.

All 2 comments

If it is a configuration within a php.ini file you could add or edit one of the files within /usr/local/etc/php-fpm.d/ and it would be applied.

Hi,

Thanks for your help.
I added that in Dockerfile : RUN echo "default_charset = \"\";" > /usr/local/etc/php/conf.d/php.ini
So right now new charset is available.

:-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PMExtra picture PMExtra  路  3Comments

mcnesium picture mcnesium  路  3Comments

ihorsamusenko picture ihorsamusenko  路  4Comments

2Kable picture 2Kable  路  3Comments

pavlakis picture pavlakis  路  3Comments