我一直收到这个错误:
原文链接:https://www.f2er.com/php/139198.htmlMessage: date() [function.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 ‘America/New_York’ for ‘EST/-5.0/no DST’ instead
我编辑了我的PHP.ini并将其添加到它的末尾:date.timezone =“America / New_York”
保存PHP.ini并重新启动Apache后,我仍然收到错误.我也试过重启整个服务器无济于事.
我在CentOS 5.6上运行cPanel / WHM,如果这有任何区别的话.此外,PHP处理程序是suPHP.
我不确定接下来会尝试什么…任何指导?