Ticket #5856: 5856-mythweb-php-timezone-docs.diff

File 5856-mythweb-php-timezone-docs.diff, 1.9 KB (added by Nick Morrott <knowledgejunkie <at> gmail <dot> com>, 16 years ago)

Updates to INSTALL and README

  • mythplugins/mythweb/INSTALL

     
    22requirements and instructions for MythWeb.  Please see README for other
    33information.
    44
    5 February 16, 2008
     5October 26, 2008
    66
    77========
    88Contents
     
    18185.0     Apache
    19195.1         Apache Config
    20206.0     Lighttpd
     217.0     PHP
    2122
    2223=======
    2324Summary
     
    328329
    329330Sorry, no documentation here yet...
    330331
     332=======
     3337.0 PHP
     334=======
     335
     336PHP tries to determine the system's local timezone settings automatically
     337but may not be successful on every distribution. To ensure that PHP uses
     338the correct timezone, edit php.ini and configure the date.timezone variable
     339to your local timezone.
     340
     341For example, to set the PHP timezone to Europe/London:
     342
     343  vim /etc/php.ini
     344
     345add/uncomment the date.timezone variable:
     346
     347  date.timezone = Europe/London
     348
     349and then restart Apache (exact commands depend on distribution):
     350
     351  /etc/init.d/apache2 stop
     352  /etc/init.d/apache2 start
     353
  • mythplugins/mythweb/README

     
    139139    mythweb.conf.apache file in more detail to make sure you didn't miss
    140140    an important setup file.
    141141
     142Q: MythWeb complains about "Warning: Unknown Programme" after Daylight Savings
     143    Time has started/finished.
     144A: PHP may not have determined your local timezone correctly. Read the PHP
     145    section of MythWeb's INSTALL file to find out how to correctly configure
     146    your timezone in PHP.
     147
    142148Q: Why is my MythWeb install locked?
    143149A: Given the absolutely huge number of open mythweb installs, we have added in
    144150    a automatic lockdown feature when we detect a bot or the like. This is to