Dockerでの追加php.ini

Dockerでphp.iniの上書き設定ファイルを更新するのに、いろんなサイトの事例にある

COPY ./php.ini /usr/local/etc/php/

を使っていたが、反映されていなかった。

php –ini

出でてくる

Scan for additional .ini files in:

のパスにコピーするようにすればできた。

You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

コメントを残す

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

CAPTCHA