Web_Programma
php 5.3 으로 넘어가면서 생기는 date 함수 오류
k1rha
2012. 3. 21. 02:38
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. We selected 'Asia/Seoul' for 'KST/9.0/no DST' instead
원인이 먼지 삽질하다 찾아내었다..
php5.3은 date.timezone을 설정하지 않으면 php warning 이 출력된다...
그래서 php.ini 화일에서 date.timezone =Asia/Seroul 로 설정해야 한다