Re: PHP4 and DST Changes
| From: | Frank M. Kromann | Date: | Tue, 13 Mar 2007 02:24:57 +0000 |
| Subject: | Re: PHP4 and DST Changes | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-27579@lists.php.net to get a copy of this message | ||
My old copy of PHP 4 works just fine on windows.
Check your settings on windows. Did you enable DST?, did you patch the box
with the latest update from MS?
- Frank
> to php-db.. this might related to database.
> forgive me if this contain spam.
> ----- Original Message -----
> From: "James Crow" <james@ultratans.com>
> To: <php-windows@lists.php.net>
> Sent: Tuesday, March 13, 2007 1:25 AM
> Subject: [PHP-WIN] PHP4 and DST Changes
>
>
> > I have tried searching, but so far have not found an answer.
> >
> > With the recent DST change I have some old PHP4 apps that work fine
when
> run
> > under php4/linux. The same scripts have incorrect time when run under
> > php4/windows. I ran a simple test under Windows and Linux:
> >
> > <?php
> > print date('I');
> > ?>
> >
> > Under windows it returns 0 (i.e. not running in DST). Under Linux it
> returns
> > 1. Is PHP4/Windows broken regarding the recent DST changes?
>
> T Timezone setting of this machine Examples: EST, MDT ...
>
> that's weird.. it should return EST or MDT.. actualy i never tried on
my
> pages, cmiiw.
> i believe that's from php.ini configuration.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>