"PHP 시간대 설정"의 두 판 사이의 차이

(새 문서: ==문제상황== test.php에서 phpinfo();를 실행시켰더니 다음과 같은 경고 메시지가 나온다. Warning: phpinfo(): It is not safe to rely on the system's timezone...)
 
5번째 줄: 5번째 줄:


Warning: 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. We selected 'Asia/Seoul' for 'KST/9.0/no DST' instead in /opt/apache2/htdocs/test.php on line 1
Warning: 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. We selected 'Asia/Seoul' for 'KST/9.0/no DST' instead in /opt/apache2/htdocs/test.php on line 1
[[분류:PHP]]

2012년 3월 9일 (금) 14:19 판


문제상황

test.php에서 phpinfo();를 실행시켰더니 다음과 같은 경고 메시지가 나온다.

Warning: 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. We selected 'Asia/Seoul' for 'KST/9.0/no DST' instead in /opt/apache2/htdocs/test.php on line 1

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}