[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] PHP date.timezone not set according to zoneminder
- Subject: [ale] PHP date.timezone not set according to zoneminder
- From: durtybill at gmail.com (William Wylde)
- Date: Wed, 7 Jun 2017 21:34:51 -0400
- In-reply-to: <[email protected]>
- References: <CABq+2YRZ477XHNYoTKnpWWu6MKDUkY4eY5=0bj6W+4ztXDAPkQ@mail.gmail.com> <[email protected]>
This is the date.timezone line I have:
[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = America/New_York
And I still get "ZoneMinder is not installed properly: php's date.timezone
is not set to a valid timezone".
I've also tried date.timezone = UTC with no joy.
On Wed, Jun 7, 2017 at 1:06 PM, Derek Atkins <derek at ihtfp.com> wrote:
> America/Eastern is not a valid time zone.
> Change /etc/php.ini to read:
> date.timzeone = America/New_York
>
> -derek
>
> On Wed, June 7, 2017 1:03 pm, William Wylde wrote:
> > All php.ini files have date.timezone = America/Eastern (the recommended
> > format for php7). But zoneminder (security cam system) squawks that
> > "ZoneMinder is not installed properly: php's date.timezone is not set to
> a
> > valid timezone". php.info shows:
> > It shows the correct system time:
> > date
> > date/time support enabled
> > "Olson" Timezone Database Version 0.system
> > Timezone Database internal
> > Default timezone America/New_York
> > But when reading from the php.ini file (all are symlinked to one master),
> > I
> > get:
> >
> > date.timezone* no value*
> >
> > * no value*
> > This is driving me nuts. Anybody have a clue?
> > --
> > --
> > ?Keep away from people who try to belittle your ambitions. Small people
> > always do that, but the really great make you feel that you, too, can
> > become great.?
> >
> > ? Mark Twain
> > _______________________________________________
> > Ale mailing list
> > Ale at ale.org
> > http://mail.ale.org/mailman/listinfo/ale
> > See JOBS, ANNOUNCE and SCHOOLS lists at
> > http://mail.ale.org/mailman/listinfo
> >
>
>
> --
> Derek Atkins 617-623-3745
> derek at ihtfp.com www.ihtfp.com
> Computer and Internet Security Consultant
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
--
--
?Keep away from people who try to belittle your ambitions. Small people
always do that, but the really great make you feel that you, too, can
become great.?
? Mark Twain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20170607/667cdfe6/attachment.html>