Opened 13 years ago

Closed 13 years ago

#1747 closed defect (fixed)

Timezone not set for PHP

Reported by: Martin Morrison Owned by:
Priority: low Milestone: 2.2
Component: Installer Version: 2.2.0
Severity: minor Keywords:
Cc: External ID:

Description

In the server logs there is an error:

"date() [<a href='function.date'>function.date</a>]: 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."

The fix is to set the timezone in PHP.ini. The following line needs added somewhere in PHP.ini:

date.timezone = "UTC"

Note: This is universal time. The user may want to change it their timezone setting.

Prior to PHP 5.3 this was not an issue. This just simply cleans up the install and the logs.

Change History (1)

comment:1 by jng, 13 years ago

Resolution: fixed
Status: newclosed

Fixed r6367

Note: See TracTickets for help on using tickets.