<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[刘新修]]></title> 
<link>http://pic1.liuxinxiu.com:80/index.php</link> 
<description><![CDATA[刘新修的个人博客 (Liuxinxiu'S Blog)]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[刘新修]]></copyright>
<item>
<link>http://pic1.liuxinxiu.com:80/php_date/</link>
<title><![CDATA[解决php的It is not safe to rely on the system’s timezone settings的问题]]></title> 
<author>刘新修 &lt;admin@yourname.com&gt;</author>
<category><![CDATA[技术分类]]></category>
<pubDate>Sat, 11 Jan 2014 09:31:59 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/php_date/</guid> 
<description>
<![CDATA[ 
	<h2 style="font-family: sans-serif; font-size: 20px; text-align: center;"><a name="module_date">date</a></h2><p>&nbsp;</p><p><b style="font-family: sans-serif; font-size: medium; text-align: center;">Warning</b><span style="font-family: sans-serif; font-size: medium; text-align: center;">: phpinfo() [</span><a href="http://192.168.9.254/function.phpinfo" style="color: rgb(0, 0, 153); text-decoration: none; font-family: sans-serif; font-size: medium; text-align: center;">function.phpinfo</a><span style="font-family: sans-serif; font-size: medium; text-align: center;">]: 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 </span><b style="font-family: sans-serif; font-size: medium; text-align: center;">/usr/local/apache/htdocs/index.php</b><span style="font-family: sans-serif; font-size: medium; text-align: center;"> on line </span><b style="font-family: sans-serif; font-size: medium; text-align: center;">2</b></p><p><a href="http://tiyan100.gd.chinamobile.com/">http://tiyan100.gd.chinamobile.com/</a></p><p><span style="color: rgb(51, 51, 51); font-family: 宋体; line-height: 28px; text-indent: 28px;">解决办法，在php.ini里加上</span></p><p><font color="#333333" face="宋体"><span style="line-height: 28px;">date.timezone = PRC</span></font></p><p>修改完成重启Apache时间还是错误，查看phpinfo页面信息显示：<span style="background-color: rgb(204, 204, 255); font-family: sans-serif; font-size: 12px; font-weight: bold;">Loaded Configuration File为：none</span></p><p>Configuration File (php.ini) Path：<span style="background-color: rgb(204, 204, 204); font-family: sans-serif; font-size: 12px;">/usr/local/php/etc 把php.ini 拷贝到该目录</span></p><p>全路径 /usr/local/php/etc/php.ini</p><p>之后再重启Apache，</p>
]]>
</description>
</item><item>
<link>http://pic1.liuxinxiu.com:80/php_date/#blogcomment</link>
<title><![CDATA[[评论] 解决php的It is not safe to rely on the system’s timezone settings的问题]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://pic1.liuxinxiu.com:80/php_date/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>