title: Apache/PHP Timezone Warning
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2213608/php-configuration-it-is-not-safe-to-rely-on-the-systems-timezone-settings">PHP Configuration: It is not safe to rely on the system’s timezone settings</a><br>
    <a href="https://stackoverflow.com/questions/10345436/php-errors-warning-require-function-require-open-basedir-restriction-in-e">Php errors: Warning: require() [function.require]: open_basedir restriction in effect</a>  </p>
  </blockquote>
  
  
  
  <p>My first question here at stackoverflow (please be nice :P)</p>
  
  <h1>Why is my apache showing this error?</h1>
  
  <p>Severity: Warning</p>
  
  <p>Message: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone  settings. You are <em>required</em> to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead</p>
  
  <h2>Environment</h2>
  
  <p>I'm using MacOS Mountain Lion's (10.8.2) Apache.</p>
  
  <h2>Things I've tried</h2>
  
  <ul>
  <li><p>I've tried to rename my /etc/php.ini.default to /etc/php.ini but when I do, php won't compile anymore.</p></li>
  <li><p>I've also tried to uncomment this line (in the php.ini):</p>
  
  <p>date.timezone = 'Europe/Berlin'</p></li>
  </ul>
  
  <p>But it doesn't do anything. As soon as I restart apache the php stops working.</p>
  
  <h3>Any ideas?</h3>
  
  <p>Thanks in advance.</p>