Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:37 AM, Nathan Nobbe wrote: > dude at this point i dont want to sound too much like a troll, but php 5.1 > is some really old software.  frankly this is why i chose not to run on > centos during my evaluation of it.  i understand the concept behind running > proven stable

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:37 AM, Nathan Nobbe wrote: > dude at this point i dont want to sound too much like a troll, but php 5.1 > is some really old software. frankly this is why i chose not to run on > centos during my evaluation of it. i understand the concept behind running > proven stable

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:11 AM, Dan Yost wrote: > On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe > wrote: > >> >> > >> >> So now I suppose the thread becomes: how do I get a valid US/Central > >> >> (America/Chicago) timezone in PHP5? > >> > > >> > give the timezonedb extension a shot > >> > htt

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe wrote: >> >> >> >> So now I suppose the thread becomes: how do I get a valid US/Central >> >> (America/Chicago) timezone in PHP5? >> > >> > give the timezonedb extension a shot >> > http://pecl.php.net/package/timezonedb >> >> >> Tried it, no change. I

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 8:44 AM, Dan Yost wrote: > On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe > wrote: > > On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote: > >> > >> So now I suppose the thread becomes: how do I get a valid US/Central > >> (America/Chicago) timezone in PHP5? > > > > give the ti

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe wrote: > On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote: >> >> So now I suppose the thread becomes: how do I get a valid US/Central >> (America/Chicago) timezone in PHP5? > > give the timezonedb extension a shot > http://pecl.php.net/package/timezonedb

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote: > > > So now I suppose the thread becomes: how do I get a valid US/Central > (America/Chicago) timezone in PHP5? > give the timezonedb extension a shot http://pecl.php.net/package/timezonedb -nathan

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 12:29 AM, Nathan Nobbe wrote: > a few thoughts, > 1. set error_reporting to E_ALL to see if the engine is trying to tell you > something you may be overlooking Sorry, failed to mention that I did this, and it says nothing. > 2. for grins, maybe see if the TZ environment

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-01 Thread Nathan Nobbe
On Mon, Nov 1, 2010 at 12:54 PM, Dan Yost wrote: > Greetings, > > I've looked through a number of different archived threads (some > rather heated) and samples as well, but clearly I'm just missing > something. > > PHP 5.1.6 > CentOS release 5.5 (Final) > > My server is in Central Time (US). We d

[PHP] time zone ignored (both via ini or in code)

2010-11-01 Thread Dan Yost
Greetings, I've looked through a number of different archived threads (some rather heated) and samples as well, but clearly I'm just missing something. PHP 5.1.6 CentOS release 5.5 (Final) My server is in Central Time (US). We do observe DST. I noticed functions like strftime() display UTC time.