On 05/04/07, Oliver Schalch schalch@gmail.com wrote:
Hi,
Using newest Version of Mediawiki, and the time is 2 hours to early - so I tried to set in LocalSettings.php: $wgLocaltimezone = "Europe/Zurich"; and I tried also set this to "CET";
Both settings crashing my apache webserver :-\
Any ideas?
Oh, you have to put the whole thingi more top in LocalSettings it seems and working I tooked this: #Set Default Timezone $wgLocaltimezone = "Europe/Zurich"; $oldtz = getenv("TZ"); putenv("TZ=$wgLocaltimezone"); # Versions before 1.7.0 used $wgLocalTZoffset as hours. # After 1.7.0 offset as minutes $wgLocalTZoffset = date("Z") / 60; putenv("TZ=$oldtz");
Cheers, Oliver