Timezone warning.

21 views
Skip to first unread message

mitch jaffe

unread,
Apr 22, 2016, 12:16:22 PM4/22/16
to SimpleSAMLphp

New install
Apache/2.4.6 (CentOS) PHP/5.4.16
simplesamlphp-1.14.3

Linux 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64
No matter what the setting is, this warning is received.

'timezone' => 'America/New_York',

Warning: main(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /mnt/simplesaml/config/config.php on line 124

Dick Visser

unread,
Apr 25, 2016, 11:55:20 AM4/25/16
to simplesamlphp
I had to as well on a Redhat box, and after setting it proper in
php.ini the warning went away.\

Dick
> --
> You received this message because you are subscribed to the Google Groups
> "SimpleSAMLphp" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to simplesamlph...@googlegroups.com.
> To post to this group, send email to simple...@googlegroups.com.
> Visit this group at https://groups.google.com/group/simplesamlphp.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages