[ale] PHP date.timezone not set according to zoneminder

Derek Atkins derek at ihtfp.com
Wed Jun 7 13:06:27 EDT 2017


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



More information about the Ale mailing list