I read some information about it and it seems to be a deprecated feature that will be removed in php 6. For this reason I guess it can be turned off.
--robert 2010/9/15 Sullivan, James (NIH/CIT) [C] <[email protected]> > I'm not familiar with safe mode, just saw the notice so I passed it along. > Glad it helped. > -Jim > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Wednesday, September 15, 2010 2:37 PM > To: MediaWiki announcements and site admin list > Subject: Re: [Mediawiki-l] Set the correct timezone > > The notice about safe mode did it. Thank you, obviously my webhosting > account is running in safe mode. Should I generally deactivate it? > > --robert > > > > I use the following: > > > > ## Set Default Timezone > > $wgLocaltimezone = "America/New_York"; > > $oldtz = getenv("TZ"); > > putenv("TZ=$wgLocaltimezone"); > > $wgLocalTZoffset = date("Z") / 60; > > putenv("TZ=$oldtz"); > > > > That's east coast time by the way. > > > > Also, are you running PHP in "safe mode"? If so you need to see this: > > http://www.mediawiki.org/wiki/Safe_mode#Setting_time_zone_in_safe_mode > > > > -Jim > > > > -----Original Message----- > > From: [email protected] [mailto:[email protected]] > > Sent: Wednesday, September 15, 2010 1:25 AM > > To: [email protected]; MediaWiki announcements and site admin list > > Subject: Re: [Mediawiki-l] Set the correct timezone > > > > It's a 1.16.0. > > > > I reread the manual and obviously had missunderstand it the first time. I > > need to add also the following right? > > > > $wgLocalTZoffset = date("Z") / 60;putenv("TZ=$oldtz"); > > > > Well it still doesn't work... > > > > --robert > > > > 2010/9/14 Zak Greant (Foo Associates) <[email protected]> > > > > > On Tue, Sep 14, 2010 at 05:58, <[email protected]> wrote: > > > > I want to set the correct timezone for my wiki as all logs are two > > hours > > > > behind. So I declared the following in LocalSettings but there's no > > > change. > > > > > > ... > > > > > > What version of MediaWiki are you trying to configure? > > > > > > --zak > > > > > > _______________________________________________ > > > MediaWiki-l mailing list > > > [email protected] > > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > > _______________________________________________ > > MediaWiki-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > > _______________________________________________ > > MediaWiki-l mailing list > > [email protected] > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
