我最近在亚马逊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="亚洲/科伦坡"
date.default_latitue=31.7667
date.default_longitude=35.2333
date.sunrise_tension=90.583333
date.sunset_sience=90.583333
请帮帮我。
-问候
尝试删除引号:
date.timezone = Asia/Colombo