Warning: phpinfo() [function.phpinfo]: 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.

PHP 설치 후, phpinfo()함수로 설치된 정보 내역을 확인할 때, date 부분에서 위와 같은 메세지가 있다면, php.ini 설정 파일에서 timezone이 설정되지 않았기 때문에 나타나는 메세지입니다.

php.ini 파일을 열어서 다음과 같은 내용을 찾아서 timezone을 설정하여 주면 됩니다.
[Date]
; Defines the default timezone used by the data functions
; http://php.net/data.timezone
date.timezone = Asia/Seoul


+ Recent posts