Task #497

`date.timezone` directive must be set in PHP 5.3

Added by Davide Principi almost 10 years ago. Updated over 8 years ago.

Status:CLOSEDStart date:09/20/2011
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-php
Target version:DEV2

Description

PHP Warning:  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.

Solution: expand the TimeZone value in php.ini template

{
   $OUT = "date.timezone = \"${TimeZone}\"";
}

Associated revisions

Revision 3bebff95
Added by Davide Principi over 9 years ago

php.ini: set `date.timezone` directive. Refs #497 - `date.timezone` directive must be set in PHP 5.3

History

#1 Updated by Davide Principi almost 10 years ago

  • Status changed from NEW to 4

#2 Updated by Davide Principi over 9 years ago

  • Target version set to DEV2

#3 Updated by Davide Principi over 9 years ago

  • Status changed from 4 to ON_DEV
  • Assignee set to Davide Principi
  • % Done changed from 0 to 100

#4 Updated by Davide Principi over 9 years ago

  • Project changed from NethServer 6 to 53

#5 Updated by Davide Principi over 9 years ago

  • Tracker changed from Bug to Task
  • Status changed from ON_DEV to CLOSED

#6 Updated by Davide Principi over 8 years ago

  • Project changed from 53 to NethServer 6

Also available in: Atom PDF