【Phpadmin】解决phpadmin的“It is not safe to rely on the system’s timezone settings”问题
PHPadmin调试的时候出现了警告:
It is not safe to rely on the system解决方法,其实就是时区设置不正确造成的,本文提供了3种方法来解决这个问题。
实际上,从PHP 5.1.0开始当对使用date()等函数时,如果timezone设置不正确,在每一次调用时间函数时,都会产生E_NOTICE 或者 E_WARNING 信息,而又在php中,date.t
原创
2016-10-29 16:52:58 ·
380 阅读 ·
0 评论