title: Setting the Timezone for PHP in the php.ini file
body: <p>I'm trying to change the default PHP timezone to <code>Asia/Calcutta</code> by accessing the <code>/etc/php5/cli/php.ini</code> file and changing </p>
  
  <pre><code>[Date]
  ; Defines the default timezone used by the date functions
  ; http://php.net/date.timezone
  ;date.timezone =
  </code></pre>
  
  <p>to</p>
  
  <pre><code>[Date]
  ; Defines the default timezone used by the date functions
  ; http://php.net/date.timezone
  date.timezone = "Asia/Calcutta"
  </code></pre>
  
  <p>However, when I try to view current timezone under <code>phpinfo()</code>, the timezone follows the <code>Europe/Berlin</code> timezone. </p>
  
  <p>I have tried stopping and restarting the Apache server, but that didn't seem to have changed the settings. </p>
  
  <p>Is there something I'm missing in the process?</p>
  
  <p>PS: I'm using PHP 5.6.8 currently under XAMPP.</p>