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

Home » Imported messages » comp.lang.php » Is there a Date() error in PHP
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Is there a Date() error in PHP [message #177793] Sat, 21 April 2012 11:44 Go to next message
Hacker is currently offline  Hacker
Messages: 2
Registered: April 2012
Karma: 0
Junior Member
Is there an error in the newest distribution of PHP, something with
date.timezone.
I have edited the php.ini file and supplied the date.timezone directive with
"Europe/Copenhagen", but nothing seems to happen. Is it something
speciffic to Mac.

--
This time machine is really funky...
Re: Is there a Date() error in PHP [message #177794 is a reply to message #177793] Sat, 21 April 2012 12:04 Go to previous messageGo to next message
Luuk is currently offline  Luuk
Messages: 329
Registered: September 2010
Karma: 0
Senior Member
On 21-04-2012 13:44, Hacker wrote:
> Is there an error in the newest distribution of PHP, something with
> date.timezone.
> I have edited the php.ini file and supplied the date.timezone directive
> with
> "Europe/Copenhagen", but nothing seems to happen. Is it something
> speciffic to Mac.
>

What do you expect to happen after just changing the php.ini file?

Can you give short example of the code that does not do what you want?
Re: Is there a Date() error in PHP [message #177796 is a reply to message #177794] Sat, 21 April 2012 12:18 Go to previous messageGo to next message
Hacker is currently offline  Hacker
Messages: 2
Registered: April 2012
Karma: 0
Junior Member
On 2012-04-21 12:04:25 +0000, Luuk said:

> On 21-04-2012 13:44, Hacker wrote:
>> Is there an error in the newest distribution of PHP, something with
>> date.timezone.
>> I have edited the php.ini file and supplied the date.timezone directive
>> with
>> "Europe/Copenhagen", but nothing seems to happen. Is it something
>> speciffic to Mac.
>>
>
> What do you expect to happen after just changing the php.ini file?
>
> Can you give short example of the code that does not do what you want?

Thanks, I did not know that PHP ran as a daemon, I thought that it read
the php.ini file every time it started. Dunse. Hi.

--
This time machine is really funky...
Re: Is there a Date() error in PHP [message #177804 is a reply to message #177796] Sat, 21 April 2012 17:26 Go to previous messageGo to next message
Thomas 'PointedEars'  is currently offline  Thomas 'PointedEars'
Messages: 701
Registered: October 2010
Karma: 0
Senior Member
Hacker wrote:

> On 2012-04-21 12:04:25 +0000, Luuk said:
>> On 21-04-2012 13:44, Hacker wrote:
>>> Is there an error in the newest distribution of PHP, something with
>>> date.timezone.
>>> I have edited the php.ini file and supplied the date.timezone directive
>>> with "Europe/Copenhagen", but nothing seems to happen. Is it something
>>> speciffic to Mac.
>> What do you expect to happen after just changing the php.ini file?
>>
>> Can you give short example of the code that does not do what you want?
>
> Thanks, I did not know that PHP ran as a daemon, I thought that it read
> the php.ini file every time it started. Dunse. Hi.

PHP does not run as a daemon by default. And nobody said it did. You are
trolling, are you not?


PointedEars
--
Sometimes, what you learn is wrong. If those wrong ideas are close to the
root of the knowledge tree you build on a particular subject, pruning the
bad branches can sometimes cause the whole tree to collapse.
-- Mike Duffy in cljs, <news:Xns9FB6521286DB8invalidcom(at)94(dot)75(dot)214(dot)39>
Re: Is there a Date() error in PHP [message #177830 is a reply to message #177804] Mon, 23 April 2012 02:50 Go to previous message
Arno Welzel is currently offline  Arno Welzel
Messages: 317
Registered: October 2011
Karma: 0
Senior Member
Thomas 'PointedEars' Lahn, 2012-04-21 19:26:

> Hacker wrote:
>
>> On 2012-04-21 12:04:25 +0000, Luuk said:
>>> On 21-04-2012 13:44, Hacker wrote:
>>>> Is there an error in the newest distribution of PHP, something with
>>>> date.timezone.
>>>> I have edited the php.ini file and supplied the date.timezone directive
>>>> with "Europe/Copenhagen", but nothing seems to happen. Is it something
>>>> speciffic to Mac.
>>> What do you expect to happen after just changing the php.ini file?
>>>
>>> Can you give short example of the code that does not do what you want?
>>
>> Thanks, I did not know that PHP ran as a daemon, I thought that it read
>> the php.ini file every time it started. Dunse. Hi.
>
> PHP does not run as a daemon by default. And nobody said it did. You are
> trolling, are you not?

I think the OP means that PHP may run as an Apache module and therefore
changes in the php.ini may need a reload of Apache.


--
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: how to change code?
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

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

Current Time: Wed Nov 27 21:13:04 GMT 2024

Total time taken to generate the page: 0.02014 seconds