Time Zone problems on international systems: Difference between revisions

From IVS Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


sudo nano /etc/php/<php_ver>/cli/php.ini
sudo nano /etc/php/<php_ver>/cli/php.ini
'''Modify:'''


  [Date]
  [Date]
Line 11: Line 9:


sudo nano /etc/php/<php_ver>/apache2/php.ini
sudo nano /etc/php/<php_ver>/apache2/php.ini
'''Modify:'''


  [Date]
  [Date]

Revision as of 14:38, 7 February 2018

Time zones may need to be set manually in the following two files:

sudo nano /etc/php/<php_ver>/cli/php.ini

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Kolkata

sudo nano /etc/php/<php_ver>/apache2/php.ini

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Kolkata