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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/apache/htdocs/test.php on line 2
관련 에러가 발생하였을시 php.ini 파일 부분을 수정해주면 된다.
;date.timezone = "Asia/seoul"
위와같은 줄을 찾아서 위와같이 설정해준다
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
8 | php.ini 옵션 | haru | 2017.11.28 | 197 |
7 | php-zip 설치시 error | haru | 2018.03.29 | 190 |
6 | ERROR: `phpize' failed | haru | 2018.03.28 | 136 |
5 | php 세션시간 늘리기 | haru | 2018.07.09 | 100 |
4 | php openssl 동적 모듈설치 | haru | 2017.11.28 | 94 |
3 | 파일 업로드 용량 확보 | haru | 2017.11.28 | 47 |
» | Warning: phpinfo(): It is not safe to rely on the system's timezone settings | haru | 2017.11.28 | 30 |
1 | PHP에서 MS-SQL 서버를 연동하기 위한 방법 | haru | 2017.11.28 | 11 |