I'm trying to change the default PHP timezone to Asia/Calcutta by accessing the /etc/php5/cli/php.ini file and changing
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
;date.timezone =
To
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Asia/Calcutta"
But when I use phpinfo() to view the current timezone, it displays as Europe/Berlin time. Although I restarted and stopped the Apache server, the settings didn't appear to have changed.
Is there a step in the process that I'm overlooking?