Re: [INTERNALS-WIN] Re: NSAPI Snapshot Builds for VC9?

From: Date: Fri, 20 Mar 2009 15:38:30 +0000
Subject: Re: [INTERNALS-WIN] Re: NSAPI Snapshot Builds for VC9?
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-452@lists.php.net to get a copy of this message
On Fri, Mar 20, 2009 at 4:36 PM, Ferenc Kovacs <info@tyrael.hu> wrote: > > > On Fri, Mar 20, 2009 at 4:26 PM, Pierre Joye <pierre.php@gmail.com> wrote: >> >> On Fri, Mar 20, 2009 at 4:03 PM, Uwe Schindler <thetaphi@php.net> wrote: >> > Works perfectly (tested with some PHP apps that were installed on my >> > computer through my parallel xampp installation), here also the phpinfo >> > of >> >> good to hear, todos--; :) >> >> > >> > Only one thing: >> > >> > Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the >> > system's timezone settings. You are *required* to use the date.timezone >> > setting or the date_default_timezone_set() function. In case you used >> > any of >> > those methods and you are still getting this warning, you most likely >> > misspelled the timezone identifier. We selected 'Europe/Paris' for >> > '1.0/no >> > DST' instead in C:\Programme\Sun\WebServer7\https-VEGA\docs\phpinfo.php >> > on >> > line 2 >> > >> > >> > >> > But this is a German Windows and is Europe/Paris…! >> >> You have to set it in your php.ini, it is a must. > > or use the date_default_timezone_set() as its stated in the warning. To have the default TZ set in php.ini is a must. The date functions can be called before the script even begins. -- Pierre http://blog.thepimp.net | http://www.libgd.org

« previous php.internals.win (#452) next »