<?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>Glen Lumanau &#187; configuration</title>
	<atom:link href="http://lumanau.web.id/tag/configuration/feed" rel="self" type="application/rss+xml" />
	<link>http://lumanau.web.id</link>
	<description>About Glen Lumanau</description>
	<lastBuildDate>Fri, 23 Jul 2010 10:08:00 +0000</lastBuildDate>
	<language></language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Adding PHP into Lighttpd Webserver</title>
		<link>http://lumanau.web.id/2008/10/09/adding-php-into-lighttpd-webserver.html</link>
		<comments>http://lumanau.web.id/2008/10/09/adding-php-into-lighttpd-webserver.html#comments</comments>
		<pubDate>Thu, 09 Oct 2008 04:49:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.lumanau.web.id/?p=52</guid>
		<description><![CDATA[How do I configure php under Lighttpd? PHP generally runs on a web server like lighttpd taking PHP code as its input and creating Web pages as output. FastCGI is a protocol for interfacing interactive programs with a web server. Lighttpd has mod_fastcgi to run php application. Assuming that you have php installed (see these [...]]]></description>
			<content:encoded><![CDATA[<p><em>How do I configure php under Lighttpd?</em></p>
<p>PHP generally runs on a web server like lighttpd taking PHP code as its input and creating Web pages as output. FastCGI is a protocol for interfacing interactive programs with a web server. Lighttpd has mod_fastcgi to run php application.</p>
<p><span id="more-52"></span></p>
<p>Assuming that you have php installed (see these instructions on <a href="http://www.lumanau.web.id/2008/10/09/how-to-install-lighttpd-php5-and-mysql-on-freebsd.html">installing Lighttpd+MySQL+php5 under FreeBSD</a>), open lighttpd.conf file:</p>
<p><em># vi /usr/local/etc/lighttpd.conf</em></p>
<p>Make sure FASTCGI module is enabled:</p>
<blockquote><p>server.modules += ( &#8220;mod_fastcgi&#8221; )</p></blockquote>
<p>Now append following code</p>
<blockquote><p>fastcgi.server = ( &#8220;.php&#8221; =&gt;<br />
( &#8220;localhost&#8221; =&gt;<br />
(<br />
&#8220;socket&#8221; =&gt; &#8220;/tmp/php-fastcgi.socket&#8221;,<br />
&#8220;bin-path&#8221; =&gt; &#8220;/usr/local/bin/php-cgi&#8221;<br />
)<br />
)<br />
)</p></blockquote>
<p>Save and close the file. Restart lighttpd:<br />
<em># /usr/local/etc/rc.d/lighttpd restart</em></p>
]]></content:encoded>
			<wfw:commentRss>http://lumanau.web.id/2008/10/09/adding-php-into-lighttpd-webserver.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
