Time Zone problems on international systems

From IVS Wiki
Revision as of 10:37, 15 May 2019 by IVSWikiBlue (talk | contribs)
Jump to: navigation, search

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

  1. Edit this file by entering the following:
    sudo nano /etc/<php_ver>/cli/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Kolkata
  1. Edit this file by entering the following:
    sudo nano /etc/<php_ver>/apache2/php.ini
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Kolkata
  1. Restart the apache2 service after making edits by entering the following:
    sudo service apache2 restart