<?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>Coding Life &#187; php5</title>
	<atom:link href="http://coding.blueshine.tw/tag/php5/feed/" rel="self" type="application/rss+xml" />
	<link>http://coding.blueshine.tw</link>
	<description>用一生來coding 用全心發展IT</description>
	<lastBuildDate>Mon, 15 Mar 2010 09:16:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>apache 設定手札</title>
		<link>http://coding.blueshine.tw/server/apache-%e8%a8%ad%e5%ae%9a%e6%89%8b%e6%9c%ad/</link>
		<comments>http://coding.blueshine.tw/server/apache-%e8%a8%ad%e5%ae%9a%e6%89%8b%e6%9c%ad/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 10:26:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[make install]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://coding.blueshine.tw/?p=40</guid>
		<description><![CDATA[今天送來的server 是 freebsd 但是apache仍有些地方尚未設定，應該是當初安裝時沒設定到，另外加上的參數有 AddType application/x-httpd-php .php AddType application/x-httpd-php .cgi AddType application/x-httpd-php-source .phps DirectoryIndex 加上 index.php NameVirtualHost 給註解掉，因為在&#60;VirtualHost &#62;的標籤中設定成為&#60;VirtualHost _default_&#62; 所以apache就不會再靠北了！ 而且用virtualhost也能正常顯示另一個網站。 另外php5中預設定安裝的php extension沒有安裝mbstring所以打下指令安裝： # cd /usr/ports/lang/php5-extensions 進入ports的目錄中 # make config freebsd將顯示這多選項以供選裝 # make WITHOUT_X11=yes install 則重新啟動apache即把mbstring給成功載入 安裝ImageMagick # cd /usr/ports/graphics/ImageMagick # make config 還未完成，還需要能讓php支援imagemagick # cd /usr/ports/graphics/php-magickwand # make install 安裝完成之後重新啟apache即可戴入完成。]]></description>
			<content:encoded><![CDATA[<p>今天送來的server 是 freebsd 但是apache仍有些地方尚未設定，應該是當初安裝時沒設定到，另外加上的參數有</p>
<blockquote><p>AddType application/x-httpd-php .php<br />
AddType application/x-httpd-php .cgi<br />
AddType application/x-httpd-php-source .phps</p></blockquote>
<p>DirectoryIndex 加上 index.php</p>
<p>NameVirtualHost 給註解掉，因為在&lt;VirtualHost &gt;的標籤中設定成為&lt;VirtualHost _default_&gt; 所以apache就不會再靠北了！</p>
<p>而且用virtualhost也能正常顯示另一個網站。</p>
<p>另外php5中預設定安裝的<img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot-2.png" alt="" />php extension<img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.png" alt="" /><img src="file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot-1.png" alt="" />沒有安裝mbstring所以打下指令安裝：</p>
<blockquote><p># cd /usr/ports/lang/php5-extensions</p></blockquote>
<p>進入ports的目錄中</p>
<blockquote><p># make config</p></blockquote>
<p>freebsd將顯示這多選項以供選裝</p>
<blockquote><p># make WITHOUT_X11=yes install</p></blockquote>
<p>則重新啟動apache即把mbstring給成功載入</p>
<p>安裝ImageMagick</p>
<blockquote><p># cd /usr/ports/graphics/ImageMagick<br />
# make config</p></blockquote>
<p>還未完成，還需要能讓php支援imagemagick</p>
<blockquote><p># cd /usr/ports/graphics/php-magickwand<br />
# make install</p></blockquote>
<p>安裝完成之後重新啟apache即可戴入完成。</p>
]]></content:encoded>
			<wfw:commentRss>http://coding.blueshine.tw/server/apache-%e8%a8%ad%e5%ae%9a%e6%89%8b%e6%9c%ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
