错误信息:
Warning: date_default_timezone_get(): 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 '8.0/no DST' instead in D:/Apache2.2/htdocs/upload/install/includes/lib_installer.php on line 223
解决方法:
打开PHP.INI 大概在一千行左右的位置 找到
;date.timezone =
去掉前面的分号,后面加上Asia/Shanghai
即
date.timezone =Asia/Shanghai
重启apache就可以了,因为该选项没有默认设置。