运维网's Archiver
论坛
›
php
› php 5.3 It is not safe to rely on the system's timezone settings
namedhao
发表于 2017-4-14 09:56:05
php 5.3 It is not safe to rely on the system's timezone settings
看看官方文档,设置一下参数,搞定
latitude and longitude of "Asia/Shanghai" are
date.timezone = "Asia/Shanghai"
date.default_latitude = 31.5167
date.default_longitude = 121.4500
页:
[1]
查看完整版本:
php 5.3 It is not safe to rely on the system's timezone settings