subscribing nagiosxi user trying a 60 day nagiosna eval.
A PHP Error was encountered
Severity: Warning
Message: date(): 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 'America/New_York' for 'EST/-5.0/no DST' instead
Filename: libraries/Email.php
Line Number: 704
I verified the php.ini was set to America/New_York.... not sure what else to try here.
OK, so this was a new build. And the default /etc/php.ini had the mistyped "America/New_York" as "America/New York" with no "_" in it.
Solved - Issue with PHP and
Solved - Issue with PHP and
Last edited by tecnalb on Thu Jan 02, 2014 5:26 pm, edited 1 time in total.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Solved - Issue with PHP and
Thanks for letting us know.