<?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; php</title>
	<atom:link href="http://www.info-artist.net/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.info-artist.net</link>
	<description>記錄下來自工作中的經驗 智慧</description>
	<lastBuildDate>Wed, 27 Jul 2011 15:14:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://www.info-artist.net/?pushpress=hub'/>
		<item>
		<title>在多個 web 下開啟 php debug mode(除錯)</title>
		<link>http://www.info-artist.net/2009/06/web-php-debug-mode.html</link>
		<comments>http://www.info-artist.net/2009/06/web-php-debug-mode.html#comments</comments>
		<pubDate>Mon, 01 Jun 2009 09:17:00 +0000</pubDate>
		<dc:creator>資訊藝術家</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://file.info-artist.net/?p=86</guid>
		<description><![CDATA[google_ad_client = "pub-4122239292938506"; /* index-wordpress-02 */ google_ad_slot = "5845048901"; google_ad_width = 468; google_ad_height = 60; 當我們要讓 php 在web頁面顯示錯誤時, 我們可以修改 php.ini 找到以下 display_errors = On 改成 On 啟動, 但這會影響到 Apache 下所有的網站 如果我們在一個 Apache 下有多個網站的話, 就可以如下面所說的做, 比如我要 bbb.bbb.bbb.bbb 的網站開啟 php debug mode(除錯)在 &#60;VirtualHost *:80&#62; 後面加上 php_flag display_errors on 就可以了 ~~ 如下 &#60;VirtualHost *:80&#62; DocumentRoot "/var/www/xxxxx/" ServerName bbb.bbb.bbb.bbb [...]]]></description>
			<content:encoded><![CDATA[<p>當我們要讓 php 在web頁面顯示錯誤時, 我們可以修改 php.ini 找到以下</p>
<pre class="html">display_errors = On</pre>
<p>改成 On 啟動, 但這會影響到 Apache 下所有的網站</p>
<p>如果我們在一個 Apache 下有多個網站的話, 就可以如下面所說的做,<br />
<span id="more-86"></span><br />
比如我要 bbb.bbb.bbb.bbb 的網站開啟 php debug mode(除錯)在</p>
<pre class="html">&lt;VirtualHost *:80&gt;</pre>
<p>後面加上</p>
<pre class="html">php_flag display_errors on</pre>
<p>就可以了 ~~ 如下</p>
<pre class="html">&lt;VirtualHost *:80&gt;
DocumentRoot "/var/www/xxxxx/"
ServerName bbb.bbb.bbb.bbb
AddDefaultCharset UTF-8
php_flag display_errors on
&lt;Directory "/var/www/xxxxxx/"&gt;
allow from all
Options FollowSymLinks MultiViews
&lt;/Directory&gt;
&lt;/VirtualHost&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.info-artist.net/2009/06/web-php-debug-mode.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

