Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5595

Re: Date/Time warning

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: Date/Time warning
Date 2012-04-20 08:13 -0400
Organization A noiseless patient Spider
Message-ID <jmrjtn$ubd$3@dont-email.me> (permalink)
References <2012042008442967926-info@stconinccom> <jmr0pa$9rl$1@ss408.t-com.hr> <2012042009124657118-info@stconinccom> <jmr2p7$d0e$1@ss408.t-com.hr> <2012042009492077721-info@stconinccom>

Show all headers | View raw


On 4/20/2012 3:49 AM, Torsten Jørgensen wrote:
> On 2012-04-20 07:21:11 +0000, Goran said:
>
>> On 20.4.2012 9:12, Torsten Jørgensen wrote:
>>> On 2012-04-20 06:47:06 +0000, Goran said:
>>>
>>>> On 20.4.2012 8:44, Torsten Jørgensen wrote:
>>>>> I get a warning about timezones when using date(). Is there something
>>>>> new in PHP, I've
>>>>> just migrated from one mac to another.
>>>>
>>>> Probably you should configure default time zone in php.ini.
>>>
>>> Thankyou, cool - but I can't find php.ini. Could you give me
>>> a little more help. I should probably write something like
>>> Europe/Copenhagen, but what is the directive exactly?
>>
>> Which os you are using? If its linux try "locate php.ini"
> ^^^ ^^^^^^^^^^^^^^^
> OSX Lion (Mac) Can not make it work(1)
>>
>> date.timezone:
>> http://php.net/manual/en/datetime.configuration.php
>>
>> Supported timezones:
>> http://php.net/manual/en/timezones.php
>
> (1) Build and loaded the database, but can not do a locate - says the
> database
> is not there - in strict contradiction with a repitition of the build
> command
> which claims that it (the database is there) ... HOP!
>
> Anyway, where does php.ini normally exist - on a UNIX system, or a Mac or
> whatever it is.

Fix your system.  And where it exists is dependent on your version of 
Linux.  There is no one place on all systems.

Alternatively, look up phpinfo().

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 08:44 +0200
  Re: Date/Time warning Goran <goran@nospam.com> - 2012-04-20 08:47 +0200
    Re: Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 09:12 +0200
      Re: Date/Time warning Goran <goran@nospam.com> - 2012-04-20 09:21 +0200
        Re: Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 09:49 +0200
          Re: Date/Time warning Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-20 08:13 -0400
            Re: Date/Time warning Tim Streater <timstreater@greenbee.net> - 2012-04-20 15:43 +0100
              Re: Date/Time warning Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-20 14:21 -0400
                Re: Date/Time warning Tim Streater <timstreater@greenbee.net> - 2012-04-20 20:31 +0100
          Re: Date/Time warning Denis McMahon <denismfmcmahon@gmail.com> - 2012-04-20 15:03 +0000
        Re: Date/Time warning Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-21 19:09 +0200
      Re: Date/Time warning Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-21 18:56 +0200
  Re: Date/Time warning "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-04-20 09:59 +0200
  Re: Date/Time warning Tim Streater <timstreater@greenbee.net> - 2012-04-20 10:23 +0100
    Re: Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 11:27 +0200

csiph-web