2014-01-23 2 views
0

these steps을 기반으로 IIS에 PHP를 설치하려고합니다. php.ini의 date.timezone 문제

나는 단계별로 지침 단계를 fallowed 나는 내가이 오류가있어) 내은 phpinfo (참조하려고 할 때 결국 올바른 모든 일을했다 :

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

그래서 내 php.ini 파일에 돌아온를 이렇게 date.timezone을 설정하고 IIS를 다시 시작하십시오.

;date.timezone = "America/New_York" 

아무런 일도 일어나지 않았으며 이전과 동일합니다.

어떻게해야합니까?

답변

0

주석 기호 ;을 제거하고 IIS를 다시 시작하십시오.