<?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>阿乐的博客 &#187; xampp</title>
	<atom:link href="http://ale.net.cn/blog/tag/xampp/feed/" rel="self" type="application/rss+xml" />
	<link>http://ale.net.cn/blog</link>
	<description>没有句号的梦想</description>
	<lastBuildDate>Wed, 22 Dec 2010 14:56:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>php下屏蔽错误提示</title>
		<link>http://ale.net.cn/blog/2009/07/php%e4%b8%8b%e5%b1%8f%e8%94%bd%e9%94%99%e8%af%af%e6%8f%90%e7%a4%ba/</link>
		<comments>http://ale.net.cn/blog/2009/07/php%e4%b8%8b%e5%b1%8f%e8%94%bd%e9%94%99%e8%af%af%e6%8f%90%e7%a4%ba/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 07:46:22 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[程序]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xampp]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=58</guid>
		<description><![CDATA[最简便的方法就是修改php.ini。
在php.ini中设置display_errors = Off就可以。另外可以开启错误日志，设置log_errors = On，以及指定日志路径error_log = /apache/logs/php_error.log。
当初找到在这个方法，但是怎么改，都没有效果。原来用的是xampp，就如上篇日志说的，该死的xampp用的是php.ini是在apache/bin下面。害我当初纳闷一下午。
另外还可以在程序的页首添加error reporting(0)，或在单个语句前加：@
]]></description>
			<content:encoded><![CDATA[<p>最简便的方法就是修改php.ini。</p>
<p>在php.ini中设置display_errors = Off就可以。另外可以开启错误日志，设置log_errors = On，以及指定日志路径error_log = /apache/logs/php_error.log。</p>
<p>当初找到在这个方法，但是怎么改，都没有效果。原来用的是xampp，就如上篇日志说的，该死的xampp用的是php.ini是在apache/bin下面。害我当初纳闷一下午。</p>
<p>另外还可以在程序的页首添加error reporting(0)，或在单个<span class="t_tag" onclick="function onclick() { function onclick() { tagshow(event) } }">语句</span>前加：@</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2009/07/php%e4%b8%8b%e5%b1%8f%e8%94%bd%e9%94%99%e8%af%af%e6%8f%90%e7%a4%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>xampp下php.ini的date.timezone设置问题</title>
		<link>http://ale.net.cn/blog/2009/07/xampp%e4%b8%8bphpini%e7%9a%84datetimezone%e8%ae%be%e7%bd%ae%e9%97%ae%e9%a2%98/</link>
		<comments>http://ale.net.cn/blog/2009/07/xampp%e4%b8%8bphpini%e7%9a%84datetimezone%e8%ae%be%e7%bd%ae%e9%97%ae%e9%a2%98/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 08:54:29 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[timezone]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=55</guid>
		<description><![CDATA[使用xampp时间不久，今天为了纠正php获取函数是获取服务器时间。
因为php5.1.0开始，php.ini里加入了date.timezone这个选项，默认情况下是关闭的。显示的时间都是格林威治标准时间,和北京时间差了正好8个小时。
网上找到的方法：
修改php.ini文件，查找 ;date.timezone = ，把前面的分号去掉在 &#8220;=&#8221;后面加上时区。
比如：Asia/Chongqing (重庆)，Asia/Shanghai (上海)，Asia/Urumqi (乌鲁木齐)，Asia/Macao (澳门)，Asia/Hong_Kong (香港)，Asia/Taipei (台北)，PRC
例
;date.timezone =
改成:
date.timezone = Asia/Shanghai
方法很简单。可是在xampp下，把php/php.ini文件改来改去都没用。后来网上搜了才发现，该死的xampp，把php.ini放在apache/bin下面，修改这个里面的php.ini才有用。
]]></description>
			<content:encoded><![CDATA[<p>使用xampp时间不久，今天为了纠正php获取函数是获取服务器时间。</p>
<p>因为php5.1.0开始，php.ini里加入了date.timezone这个选项，默认情况下是关闭的。显示的时间都是格林威治标准时间,和北京时间差了正好8个小时。</p>
<p>网上找到的方法：</p>
<p>修改php.ini文件，查找 ;date.timezone = ，把前面的分号去掉在 &#8220;=&#8221;后面加上时区。</p>
<p>比如：Asia/Chongqing (重庆)，Asia/Shanghai (上海)，Asia/Urumqi (乌鲁木齐)，Asia/Macao (澳门)，Asia/Hong_Kong (香港)，Asia/Taipei (台北)，PRC</p>
<p>例<br />
;date.timezone =<br />
改成:<br />
date.timezone = Asia/Shanghai</p>
<p>方法很简单。可是在xampp下，把php/php.ini文件改来改去都没用。后来网上搜了才发现，该死的xampp，把php.ini放在apache/bin下面，修改这个里面的php.ini才有用。</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2009/07/xampp%e4%b8%8bphpini%e7%9a%84datetimezone%e8%ae%be%e7%bd%ae%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XAMPP访问出现Access forbidden!</title>
		<link>http://ale.net.cn/blog/2009/04/xampp%e8%ae%bf%e9%97%ae%e5%87%ba%e7%8e%b0access-forbidden/</link>
		<comments>http://ale.net.cn/blog/2009/04/xampp%e8%ae%bf%e9%97%ae%e5%87%ba%e7%8e%b0access-forbidden/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 09:09:13 +0000</pubDate>
		<dc:creator>ale</dc:creator>
				<category><![CDATA[软件]]></category>
		<category><![CDATA[xampp]]></category>

		<guid isPermaLink="false">http://ale.net.cn/blog/?p=17</guid>
		<description><![CDATA[同样的httpd.conf配置文件，本机上运行XAMPP，打开网站就出现错误。
Access forbidden!
You don&#8217;t have permission to access the requested directory. There is either no index document or the directory is read-protected.
If you think this is a server error, please contact the webmaster.
Error 403
解决方法
&#60;Directory /&#62;
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
&#60;/Directory&#62;
修改 Deny from all 为 Deny from allow
]]></description>
			<content:encoded><![CDATA[<p>同样的httpd.conf配置文件，本机上运行XAMPP，打开网站就出现错误。</p>
<h2>Access forbidden!</h2>
<p>You don&#8217;t have permission to access the requested directory. There is either no index document or the directory is read-protected.</p>
<p>If you think this is a server error, please contact the webmaster.</p>
<h2>Error 403</h2>
<p>解决方法</p>
<p>&lt;Directory /&gt;<br />
    Options FollowSymLinks<br />
    AllowOverride None<br />
    Order deny,allow<br />
    Deny from all<br />
&lt;/Directory&gt;</p>
<p>修改 Deny from all 为 Deny from allow</p>
]]></content:encoded>
			<wfw:commentRss>http://ale.net.cn/blog/2009/04/xampp%e8%ae%bf%e9%97%ae%e5%87%ba%e7%8e%b0access-forbidden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

