title: Mavericks php.ini configuration, working with no ini file
body: <p>I recently installed  <code>mcrypt</code> into the default installation of PHP in OS X 10.9 after getting everything configured and installed, I went to turn on the so in the <code>php.ini</code>. I noticed that there wasn't a default <code>php.ini</code> so I copied the <code>php.ini.default</code>, renaming it, adding the <code>extension=mcrypt.so</code> and restarting Apache.</p>
  
  <p>Upon doing this my <code>phpinfo()</code> page shows nothing, and none of my php scripts work.</p>
  
  <p>I can run <code>php -i</code> from the command line and see what should be displayed in the <code>phpinfo()</code>, the <code>crypt</code> library shows up there, and there are no errors.</p>
  
  <p>If I remove all <code>php.ini</code> files from <code>/etc</code> or <code>/private/etc</code>, and restart Apache, PHP starts working again.</p>
  
  <p>Looking at the <code>phpinfo</code>, it shows <code>/etc</code> as the location of the <code>php.ini</code> file. Is there some default location that <code>php.ini</code> gets an ini file when one is missing?</p>
  
  <p>I assume it must be something in the <code>php.ini</code> that is causing an error and keeping php from working, but using the default ini file causes the same result.</p>