Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Time GMT down
Periodically time server returned from apache (WinXP SO) to PHP is
not Correct.
So to restore must stop and restart.
In logo, when the time is correct (14:02:12) appear:
127.0.0.1 - - [31/Mar/2008: 12:02:12 +0200]
When is not correct (12:02:12) appear:
127.0.0.1 - - [31/Mar/2008: 12:02:12 +0000]
It is as if the lost based on local time and not maintain the GMT.
Do it is possible to correct this problem?

--
http://interno.netsons.org

Report this thread to moderator Post Follow-up to this message
Old Post
nonce999
04-03-08 12:20 AM


Re: Time GMT down
Hi,

nonce999 wrote:

> Periodically time server returned from apache (WinXP SO) to PHP is=20
> not Correct.
> So to restore must stop and restart.=20
> In logo, when the time is correct (14:02:12) appear:=20
> 127.0.0.1 - - [31/Mar/2008: 12:02:12 +0200]=20
> When is not correct (12:02:12) appear:=20
> 127.0.0.1 - - [31/Mar/2008: 12:02:12 +0000]=20

This looks like the httpd's log file output. Where does PHP come into
play? If your problem is really about the httpd, you should be better
asking this in a web server NG or the dedicated forum for your
distribution of Apache...

Most probably it's a wrong program environment setup. And what time
offset would be really correct for you? At least the mail you wrote
states =BBGMT=AB, which wouldn't match your statement on the timestamp w/
offset +0200 as being =BBcorrect=AB.

-hwh

Report this thread to moderator Post Follow-up to this message
Old Post
Hans-Werner Hilse
04-03-08 12:20 AM


Re: Time GMT down
I believe that the problem may depend on some instruction in some php
script.
But I do not know what to look for.
I tried date_default_timezone_set, putenv, setlocale but have not
found anything suspicious.

--
http://interno.netsons.org

Report this thread to moderator Post Follow-up to this message
Old Post
nonce999
04-03-08 12:20 AM


Re: Time GMT down
Hi,

On 02 Apr 2008 15:22:17 GMT nonce999 <nonce999@haii.com> wrote:

> I believe that the problem may depend on some instruction in some php
> script.
> But I do not know what to look for.
> I tried date_default_timezone_set, putenv, setlocale but have not
> found anything suspicious.

I don't run PHP on Windows, so maybe someone else can comment on
specific issues in that environment. I can certainly tell that on Linux
the timezone setting does *not* cascade up to the apache process
handling the request. But then, I don't know about environment and
locale set up on Windows machines. Maybe someone else can help you...


-hwh

Report this thread to moderator Post Follow-up to this message
Old Post
Hans-Werner Hilse
04-03-08 12:20 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Programming archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:16 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.