title: How can I modify php date in bitnami?
body: <p>I have read other StachOverflow answers and forums about php and date but they did not help me. I am using bitnami in a Azure server and use date in the shell I get </p>
  
  <blockquote>
    <p>Wed May  4 10:25:16 UTC 2016</p>
  </blockquote>
  
  <p>. But with php <code>date("d-m-y/H:i:s")</code> function y get </p>
  
  <blockquote>
    <p>04-05-16/03:18:51</p>
  </blockquote>
  
  <p>I have changed the timezone from <code>date.timezone = America/Los_Angeles</code> to <code>date.timezone = Europe/Paris</code>  in <code>php.ini</code> file that is in </p>
  
  <blockquote>
    <p>opt/bitnami/php/etc</p>
  </blockquote>
  
  <p>The file is modified I have permission to do it and if I do cat php.ini | grep date.timezone I get ; </p>
  
  <blockquote>
    <p><a href="http://php.net/date.timezone" rel="nofollow">http://php.net/date.timezone</a> </p>
    
    <p>date.timezone = "Europe/Paris"</p>
  </blockquote>
  
  <p>I have restarted apache with</p>
  
  <blockquote>
    <p>sudo /opt/bitnami/ctlscript.sh restart apache</p>
  </blockquote>
  
  <p>But the time is still wrong. Besides, if I use <code>phpinfo()</code>, <code>date.timezone</code> is also wrong: <code>America/Los_Angeles</code></p>
  
  <p>Do I need to restart something more? What more I have to do to get the correct time? </p>