OS4XBox change timezone

From OS4X

Jump to: navigation, search

Changing Web GUI timezone

In order to change the displayed log entries of OS4X in the correct timezone, you may have to change the PHP configuration of the Apache module:

  • Edit the following file:
/etc/php5/apache2/php.ini
  • Search the line declaring the locally used timezone, mostly commented out (line 608 in the default configuration):
;date.timezone =
  • Uncomment this line by removing the leading semicolon and set your local value, i.e.:
date.timezone = Europe/Paris
  • Restart Apache by calling the runlevel script with the parameter "restart":
/etc/init.d/apache2 -k restart 

A list of supported timezones in PHP is available in their online documentation http://www.php.net/manual/en/timezones.php

Views
Personal tools