继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

解决php的It is not safe to rely on……

斯蒂芬大帝
关注TA
已关注
手记 215
粉丝 7
获赞 21

访问网站提示:

date(): 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/Chongqing’ for ‘CST/8.0/no DST’ instead

解决:

    修改php.ini

添加:date.timezone = "Asia/Shanghai"

打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP