Re: Date/Time warning [message #177750 is a reply to message #177749] |
Fri, 20 April 2012 07:49 |
Torsten Jrgensen
Messages: 16 Registered: April 2012
Karma:
|
Junior Member |
|
|
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.
--
This time machine is really funky...
|
|
|