could you show phpinfo() output from all three servers? maybe server B is not chrooted and servers A and C are chrooted.
> Thank you for your reply. > > > The question boils down to: why is SM on server B reporting time > correctly in EST, while SM on A and C drop out to GMT? The configuration of > B and C would seem to be nearly identical, while A is odd server out > with different versions of php and SM. None of them are on php 5.1.x yet. > Server A is on php 5.0.2. > > > I know that there are preferences individual users can set to fix this. > But, since I have one server that seems to be doing it correctly, I'd > like to know why and then fix the others. I have hundreds of users, and > getting them all to "fix their settings" can be a bit of a problem. > > I've been looking at the php configurations. If I do `php -i | less`, I > find that all three servers have the same group of settings for TZ: > > TZ => US/Eastern > _SERVER["TZ"] => US/Eastern > _ENV["TZ"] => US/Eastern > > > > I haven't been able to find any differences that I can point to as > possibly causing 2 servers to report GMT while the other 1 reports EST. > > > > --------------- > > > Chris Hoogendyk > > > - > O__ ---- Systems Administrator > c/ /'_ --- Biology & Geology Departments (*) \(*) -- 140 Morrill Science > Center > ~~~~~~~~~~ - University of Massachusetts, Amherst > > > <[EMAIL PROTECTED]> > > > --------------- > > > Erdös 4 > > > > > > Tomas Kuliavas wrote: > >>> I found a few things related to this on google, in the SM >>> documentation, and on the archives for the list, but nothing that >>> answered the question. >>> >>> I have 3 servers that are very similar. Each is a Sun E250 running >>> Solaris 9. Call them A, B, & C, configured last August, November and >>> this January respectively. A has php 5.0.2 and squirrelmail 1.4.4. It >>> has moderate useage and doesn't use php for other things. B has php >>> 4.4.2 and >>> squirrelmail 1.4.6. It has very light usage of mail, but heavier usage >>> of the web and uses php extensively. C has php 4.4.2 and squirrelmail >>> 1.4.6 >>> also. It has heavy useage of mail, and moderate useage of the web with >>> light use of php for the web. >>> >>> I personally built all 3 servers, secured them, configured ntp and >>> all applications. `date` on all 3 reports the time and date correctly. >>> >>> >>> Squirrelmail on A and C reports time as GMT. In the mail headers it >>> puts a line that reports GMT. The subsequent line from sendmail >>> reports the time in EST. On the Web page, left panel, Squirrelmail >>> reports the time as GMT but does not indicate that it is GMT -- it's >>> simply 5 hours later than one would expect. >>> >> >> Switch to international time format in folder prefs and see reported >> time zone. >> >> >>> Squirrelmail on B reports time as EST. >>> >>> >>> >>> I recently updated php and Squirrelmail on B and C and followed >>> identical procedures on both. >>> >>> I did not update A, because the php 5.1.2 configure script failed. >>> Separate issue, but explains the difference in versions. >>> >>> >>> >>> If I go to my personal options on the web connection and specify a >>> time zone of America/New_York, I get the correct display of time for >>> myself. However, this does not fix the problem for all my users. I >>> also cannot say if this is a new problem or an old problem. Nobody >>> reported it until this week. I also looked at some pref files in >>> smdata on all 3 and didn't see any specifications of time zones. >>> >> >> Then SquirrelMail is running in default time zone and PHP functions >> fail to report your server's time zone correctly. >> >> >>> Seems like there must be some sort of global configuration somewhere >>> that controls this. But, I couldn't find it. I even poked around in >>> Squirrelmail's code a bit, but I'm not a php programmer. >>> >>> >> >> SquirrelMail does not have global time zone configuration option. It >> uses your server's time zone by default. If you use PHP 5.1.x - date >> functions are rewritten and SquirrelMail does not support >> date_default_timezone_set() function yet. >> > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users