Ticket #5856: 5856-mythweb-php-timezone-docs.diff
File 5856-mythweb-php-timezone-docs.diff, 1.9 KB (added by , 16 years ago) |
---|
-
mythplugins/mythweb/INSTALL
2 2 requirements and instructions for MythWeb. Please see README for other 3 3 information. 4 4 5 February 16, 20085 October 26, 2008 6 6 7 7 ======== 8 8 Contents … … 18 18 5.0 Apache 19 19 5.1 Apache Config 20 20 6.0 Lighttpd 21 7.0 PHP 21 22 22 23 ======= 23 24 Summary … … 328 329 329 330 Sorry, no documentation here yet... 330 331 332 ======= 333 7.0 PHP 334 ======= 335 336 PHP tries to determine the system's local timezone settings automatically 337 but may not be successful on every distribution. To ensure that PHP uses 338 the correct timezone, edit php.ini and configure the date.timezone variable 339 to your local timezone. 340 341 For example, to set the PHP timezone to Europe/London: 342 343 vim /etc/php.ini 344 345 add/uncomment the date.timezone variable: 346 347 date.timezone = Europe/London 348 349 and 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
139 139 mythweb.conf.apache file in more detail to make sure you didn't miss 140 140 an important setup file. 141 141 142 Q: MythWeb complains about "Warning: Unknown Programme" after Daylight Savings 143 Time has started/finished. 144 A: 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 142 148 Q: Why is my MythWeb install locked? 143 149 A: Given the absolutely huge number of open mythweb installs, we have added in 144 150 a automatic lockdown feature when we detect a bot or the like. This is to