<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>浮山狼de博客 &#187; php警告</title>
	<atom:link href="https://www.fushanlang.com/tag/php%e8%ad%a6%e5%91%8a/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fushanlang.com</link>
	<description>next station - 下一站，活在当下，且行且思</description>
	<lastBuildDate>Sat, 29 Nov 2014 15:14:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.5</generator>
	<item>
		<title>php Unable to load dynamic library dll</title>
		<link>https://www.fushanlang.com/php-unable-to-load-dynamic-library-dll-1215/</link>
		<comments>https://www.fushanlang.com/php-unable-to-load-dynamic-library-dll-1215/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 15:43:57 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[webserver]]></category>
		<category><![CDATA[php警告]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1215</guid>
		<description><![CDATA[<p>今天测试apache+php+postgresql，发现apache给出warning:</p> <p>PHP Warning: PHP Startup: Unable to load dynamic library &#8216;C:\php5\ext\php_pgsql.dll&#8217; &#8211; 找不到指定的模块。 in Unknown on line 0 PHP Warning: Cannot load module &#8216;pdo_mysql&#8217; because required module &#8216;pdo&#8217; is not loaded in Unknown on line</p> <p>但是其他模块儿都可以默认路径加载进来，而且php/ext/目录下确实有php_pgsql.dll，但就是加载不到，百度、google了一把发现只需要把php安装目录下的“libpq.dll” 拷贝到%sytem%/system32/ 目录下即可重启apache解决.</p> ]]></description>
				<content:encoded><![CDATA[<p>今天测试apache+php+postgresql，发现apache给出warning:</p>
<p>PHP Warning: PHP Startup: Unable to load dynamic library &#8216;C:\php5\ext\php_pgsql.dll&#8217; &#8211; 找不到指定的模块。 in Unknown on line 0 PHP Warning: Cannot load module &#8216;pdo_mysql&#8217; because required module &#8216;pdo&#8217; is not loaded in Unknown on line</p>
<p>但是其他模块儿都可以默认路径加载进来，而且php/ext/目录下确实有php_pgsql.dll，但就是加载不到，百度、google了一把发现只需要把php安装目录下的“<strong>libpq.dll” 拷贝到%sytem%/system32/ 目录下即可重启apache解决.</strong></p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/php-unable-to-load-dynamic-library-dll-1215/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It is not safe to rely on the system’s timezone settings.</title>
		<link>https://www.fushanlang.com/it-is-not-safe-to-rely-on-the-systems-timezone-settings-1207/</link>
		<comments>https://www.fushanlang.com/it-is-not-safe-to-rely-on-the-systems-timezone-settings-1207/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 12:34:58 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[php警告]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1207</guid>
		<description><![CDATA[Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system’s timezone settings. 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 ‘UTC’ for ’8.0/no DST’ instead in C:\Apache2.2\htdocs\phpinfo.php on line 2 <span style="color:#777"> . . . &#8594; Read More: <a href="https://www.fushanlang.com/it-is-not-safe-to-rely-on-the-systems-timezone-settings-1207/">It is not safe to rely on the system’s timezone settings.</a></span>]]></description>
				<content:encoded><![CDATA[<p>今天独立安装了下apache2.2.15 和php5.3.3 ,配置完成后phpinfo（）了一下发现了这个warning ：</p>
<h2>Warning: phpinfo() [function.phpinfo]: It is not safe to rely on the system’s timezone settings.</h2>
<blockquote><p><strong>Warning</strong>: 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 ‘UTC’ for ’8.0/no DST’ instead in <strong>C:\Apache2.2\htdocs\phpinfo.php</strong> on line <strong>2</strong></p></blockquote>
<p>之前总是用打包好的WAMP环境来开发，没注意过，这个warning是提示phpinfo 加载php.ini中的 date 模块儿时找不到安全的时区定义，显示phpinfo是默认选择了“UTC” 来代替，消除这个warning 很简单，可以在phpinfo();调用之前用date_default_timezone_set(&#8216;PRC&#8217;)来指定一下默认时区，或者干脆找到php.ini的“date.timezone”一行改为“date.timezone=PRC”即可解决问题.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/it-is-not-safe-to-rely-on-the-systems-timezone-settings-1207/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
