我最近在amazon aws中设置了我的托管服务,从我开始的那一刻起,它一直给我一个错误
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 'UTC' for 'UTC/0.0/no DST' instead in ..
我已经阅读了几篇帖子,所有人都建议更改php.ini文件,我已经这样做了,我已经多次重启服务了,但它一直在用,
我的php.ini
[日期] ;定义日期函数
使用的默认时区date.timezone =“Asia / Colombo”
date.default_latitude = 31.7667
date.default_longitude = 35.2333
date.sunrise_zenith = 90.583333
date.sunset_zenith = 90.583333
请帮帮我。
-Regards
答案 0 :(得分:1)
尝试删除引号:
date.timezone = Asia/Colombo