title: From where is my php.ini being loaded in php Docker container?
body: <p>I am running this <a href="https://github.com/docker-library/php/blob/bfe27759103fa6050601060165409b5b3be06395/5.6/jessie/apache/Dockerfile" rel="noreferrer">Docker instance of a linux debian:jessie</a> with php 5.6.</p>
  
  <p>This is part of my phpinfo :</p>
  
  <p><a href="https://i.stack.imgur.com/tP2i2.png" rel="noreferrer"><img src="https://i.stack.imgur.com/tP2i2.png" alt="enter image description here"></a></p>
  
  <p>As we can see the <code>php.ini</code> should be located at    </p>
  
  <pre><code>/usr/local/etc/php
  </code></pre>
  
  <p>And this is what I have inside /usr/local/etc/</p>
  
  <p><a href="https://i.stack.imgur.com/KqzKI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KqzKI.png" alt="enter image description here"></a></p>
  
  <p>But there is no php.ini inside it.</p>
  
  <p>I the other hand, I have the php.ini inside</p>
  
  <p><a href="https://i.stack.imgur.com/dRlvY.png" rel="noreferrer"><img src="https://i.stack.imgur.com/dRlvY.png" alt="enter image description here"></a></p>
  
  <p>So, from where exactly is my php.ini being loaded?</p>
  
  <p>We dont even have a php process running but the php seems to be ok - being displayed phpinfo in the screen.</p>
  
  <p><a href="https://i.stack.imgur.com/GVlT5.png" rel="noreferrer"><img src="https://i.stack.imgur.com/GVlT5.png" alt="enter image description here"></a> </p>