Is there a Date() error in PHP [message #177793] |
Sat, 21 April 2012 11:44 |
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 |
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 |
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 |
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 |
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
|
|
|