FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Date/Time warning
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Date/Time warning [message #177764 is a reply to message #177763] Fri, 20 April 2012 14:43 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <jmrjtn$ubd$3(at)dont-email(dot)me>,
Jerry Stuckle <jstucklex(at)attglobal(dot)net> wrote:

> 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.

He isn't running linux, you silly boy.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: php include, function, ...
Next Topic: session question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Oct 28 13:12:44 GMT 2024

Total time taken to generate the page: 0.05580 seconds