[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: derek at ihtfp.com (Derek Atkins)
- Date: Wed, 7 Jun 2017 13:06:27 -0400
- In-reply-to: <CABq+2YRZ477XHNYoTKnpWWu6MKDUkY4eY5=0bj6W+4ztXDAPkQ@mail.gmail.com>
- References: <CABq+2YRZ477XHNYoTKnpWWu6MKDUkY4eY5=0bj6W+4ztXDAPkQ@mail.gmail.com>
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