Warning: phpinfo() [function.phpinfo]: 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 in /usr/local/apache/htdocs/index.php on line 2


date.timezone = PRC

修改完成重启Apache时间还是错误,查看phpinfo页面信息显示:Loaded Configuration File为:none

Configuration File (php.ini) Path:/usr/local/php/etc 把php.ini 拷贝到该目录

全路径 /usr/local/php/etc/php.ini


技术分类 | 评论(0) | 引用(0) | 阅读(2455)