title: How to set default php.ini to be used, OSX Yosemite
body: <p>I set up a new environment using OSX Yosemite.</p>
  <p>I'm using the built-in PHP.</p>
  <p>I'd like to change some config in php.ini such as date.timezone but none of the modifications are working despite restarting the apache server (sudo apachectl restart).</p>
  <p>phpinfo() is giving a different path than php --ini command.</p>
  <p>phpinfo():</p>
  <blockquote>
  <p>Configuration File (php.ini) Path /usr/local/php5/lib</p>
  <p>Loaded Configuration File /usr/local/php5/lib/php.ini</p>
  </blockquote>
  <p>Via commands :</p>
  <blockquote>
  <p>which php</p>
  <p>/usr/bin/php</p>
  <p>php --ini</p>
  <p>Configuration File (php.ini) Path: /etc</p>
  <p>Loaded Configuration File:         /etc/php.ini</p>
  <p>Scan for additional .ini files in: /Library/Server/Web/Config/php</p>
  <p>Additional .ini files parsed:      (none)</p>
  </blockquote>
  <p>So I guess I have to tell somewhere where I should set the default php.ini to be used.</p>
  <p>Any ideas, hints?</p>