<?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>Round Robin DNS Information and Services &#187; How To&#8217;s</title>
	<atom:link href="http://www.rrdns.com/category/howtos/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rrdns.com</link>
	<description></description>
	<lastBuildDate>Wed, 26 May 2010 03:00:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Clustered Mail Server Setup with @mail</title>
		<link>http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html</link>
		<comments>http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html#comments</comments>
		<pubDate>Sun, 05 Jul 2009 13:06:41 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[How To's]]></category>
		<category><![CDATA[@mail]]></category>
		<category><![CDATA[atmail]]></category>
		<category><![CDATA[webmail cluster]]></category>

		<guid isPermaLink="false">http://www.rrdns.com/?p=135</guid>
		<description><![CDATA[We recently configured a clustered mail server setup and webmail for one of our clients using the @Mail Mail Server (http://www.atmail.com) . Using the multiserver configuration which @Mail supports, you can install more than one copy of @Mail on different machines to cluster the mail server and load the webmail interface from different machines.  The [...]


Related posts:<ol><li><a href='http://www.rrdns.com/round-robin-dns-setup-a-howto.html' rel='bookmark' title='Permanent Link: Round Robin DNS Setup :: A Howto'>Round Robin DNS Setup :: A Howto</a> <small>Round Robin DNS is a technique involving changes to the...</small></li>
<li><a href='http://www.rrdns.com/corporate-clustered-mail-server-setup.html' rel='bookmark' title='Permanent Link: Corporate Clustered Mail Server Setup'>Corporate Clustered Mail Server Setup</a> <small>Organizations with huge staff or even medium sized organizations with...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>We recently configured a clustered mail server setup and webmail for one of our clients using the @Mail Mail Server (<a title="http://www.atmail.com" href="http://www.atmail.com" target="_blank">http://www.atmail.com</a>) . Using the multiserver configuration which @Mail supports, you can install more than one copy of @Mail on different machines to cluster the mail server and load the webmail interface from different machines.  The software uses MySQL to store all the userdata and can be configured to use a central point for mail storage , it can support a multiserver configuration without any issues.</p>
<p>We won&#8217;t be going into much details on how exactly @Mail was installed as their own website provides very clear instructions about the installation in multiserver mode. You should make sure the NFS mount and all the required services  For more details on these you can visit <a title="this knowledge base article" href="http://atmail.com/wiki/doku.php?id=multiserver:multiserver" target="_blank">this knowlegde base article</a> from the @Mail site itself. We will be looking into the Round Robin DNS setup which would need to be done for this setup.</p>
<p>You can run Pop3/IMAP , SMTP and Webmail services from different servers when you run @Mail in multiserver mode.You would need edit the DNS records for your domain to be able to utilize the cluster setup on your domain. We normally use ISC Bind as the nameserver on our setups and we used the same for this setup. We will consider the hypothetical domain used for the setup as yourdomain.com throughout this article.</p>
<p>Our cluster had three nodes namely: node1.yourdomain.com (123.123.123.126), node2.yourdomain.com (123.123.123.127) and node3.yourdomain.com (123.123.123.128) . We installed @Mail on all of them as per the official multiserver installation instuctions and it shared the same MySQL db and used the central NFS storage area as well. The setup requires the MX records for the domain to be pointed to all the 3 nodes. The MX priority for each of these mail servers should be the same so that the mails are distributed properly to these nodes.</p>
<p>The DNS entries for the nodes would be as below in the zone file:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">node1         IN      A       123.123.123.126
node2         IN      A       123.123.123.127
node3         IN      A       123.123.123.128</pre></div></div>

<p>The MX record for the domain needs to point to each of the nodes as below. The priority would remain the same. It is set to 0 in this case.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">yourdomain.com.           IN      MX      <span style="color: #000000;">0</span>       node1
yourdomain.com.           IN      MX      <span style="color: #000000;">0</span>       node2
yourdomain.com.           IN      MX      <span style="color: #000000;">0</span>       node3</pre></div></div>

<p>The above setup will set the incoming mails to be handled by any of the 3 nodes.</p>
<p>The remaining services would need to be load balanced to the different nodes in the same manner. This includes the Webmail and POP3/IMAP services. The setup in the DNS zone file would be as below. Using the round robin setup, if a node goes down in the cluster the request is automatically forwarded to the next node.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mail  IN      A       123.123.123.126
mail  IN      A       123.123.123.127
mail  IN      A       123.123.123.128</pre></div></div>

<p>You would need the reload the DNS zone after making these changes or restart the service. You would need to verify the changes you made as below:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># dig yourdomain.com mx</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">;;</span> QUESTION SECTION:
;yourdomain.com.                    IN      MX
&nbsp;
<span style="color: #000000; font-weight: bold;">;;</span> ANSWER SECTION:
yourdomain.com.             <span style="color: #000000;">86400</span>   IN      MX      <span style="color: #000000;">0</span> node3.yourdomain.com.
yourdomain.com.             <span style="color: #000000;">86400</span>   IN      MX      <span style="color: #000000;">0</span> node1.yourdomain.com.
yourdomain.com.             <span style="color: #000000;">86400</span>   IN      MX      <span style="color: #000000;">0</span> node2.yourdomain.com.</pre></div></div>

<p>You can find below that mail.yourdomain.com resolves to 3 Ips as below.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># nslookup mail.yourdomain.com</span>
Server:         127.0.0.1
Address:        127.0.0.1<span style="color: #666666; font-style: italic;">#53</span>
&nbsp;
Name:   mail.yourdomain.com
Address: 123.123.123.126
Name:   mail.yourdomain.com
Address: 123.123.123.127
Name:   mail.yourdomain.com
Address: 123.123.123.128</pre></div></div>

<p>Using this method you can setup a load balanced mail cluster using @Mail. If you have additions to make, they are always welcome <img src='http://www.rrdns.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;title=Clustered+Mail+Server+Setup+with+%40mail+" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;title=Clustered+Mail+Server+Setup+with+%40mail+" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;title=Clustered+Mail+Server+Setup+with+%40mail+&amp;desc=We%20recently%20configured%20a%20clustered%20mail%20server%20setup%20and%20webmail%20for%20one%20of%20our%20clients%20using%20the%20%40Mail%20Mail%20Server%20%28http%3A%2F%2Fwww.atmail.com%29%20.%20Using%20the%20multiserver%20configuration%20which%20%40Mail%20supports%2C%20you%20can%20install%20more%20than%20one%20copy%20of%20%40Mail%20on%20different%20machines%20to%20cluster%20the%20mail%20server%20and%20loa" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;bm_description=Clustered+Mail+Server+Setup+with+%40mail+&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;title=Clustered+Mail+Server+Setup+with+%40mail+" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;title=Clustered+Mail+Server+Setup+with+%40mail+" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;title=Clustered+Mail+Server+Setup+with+%40mail+" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Clustered+Mail+Server+Setup+with+%40mail++-+http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.rrdns.com/round-robin-dns-setup-a-howto.html' rel='bookmark' title='Permanent Link: Round Robin DNS Setup :: A Howto'>Round Robin DNS Setup :: A Howto</a> <small>Round Robin DNS is a technique involving changes to the...</small></li>
<li><a href='http://www.rrdns.com/corporate-clustered-mail-server-setup.html' rel='bookmark' title='Permanent Link: Corporate Clustered Mail Server Setup'>Corporate Clustered Mail Server Setup</a> <small>Organizations with huge staff or even medium sized organizations with...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Round Robin DNS Setup :: A Howto</title>
		<link>http://www.rrdns.com/round-robin-dns-setup-a-howto.html</link>
		<comments>http://www.rrdns.com/round-robin-dns-setup-a-howto.html#comments</comments>
		<pubDate>Thu, 29 May 2008 10:38:05 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[How To's]]></category>
		<category><![CDATA[DNS Setup]]></category>

		<guid isPermaLink="false">http://www.rrdns.com/?p=17</guid>
		<description><![CDATA[Round Robin DNS is a technique involving changes to the DNS records  The TTL or the Time to Live plays a very important part for Round Robin DNS to work. We will see some practical examples of DNS being using in Round Robin mode below:
1. If you need a site&#8217;s http traffic to be [...]


Related posts:<ol><li><a href='http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html' rel='bookmark' title='Permanent Link: Clustered Mail Server Setup with @mail'>Clustered Mail Server Setup with @mail</a> <small>We recently configured a clustered mail server setup and webmail...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Round Robin DNS is a technique involving changes to the DNS records  The TTL or the Time to Live plays a very important part for Round Robin DNS to work. We will see some practical examples of DNS being using in Round Robin mode below:</p>
<p>1. If you need a site&#8217;s http traffic to be distributed to multiple servers, you need to set the A records in the DNS zone for the domain as below :</p>
<p><code lang="apache">domain.com.   300   IN      A       123.123.123.123<br />
domain.com.   300   IN      A       123.123.124.124<br />
domain.com.   300   IN      A       111.112.113.114</code></p>

<a href="http://www.rrdns.com/wp-content/gallery/nice_pics/arecords.jpg" title="" class="thickbox" rel="singlepic6" >
	<img class="ngg-singlepic" src="http://www.rrdns.com/index.php?callback=image&amp;pid=6&amp;width=320&amp;height=240&amp;mode=" alt="arecords.jpg" title="arecords.jpg" />
</a>

<p>2. If you need a site&#8217;s mail traffic to be distributed to multiple servers, you should point the domain&#8217;s MX record to mail.domain.com and then you need to set the A records in the DNS zone for the mail record as below :</p>
<p><code lang="apache"><br />
domain.com    3600   IN      MX      0       mail.domain.com.<br />
domain.com.   300   IN      A       123.123.123.123<br />
domain.com.   300   IN      A       123.123.124.124<br />
domain.com.   300   IN      A       111.112.113.114</code></p>
<p>In the above examples you will see that the TTL for the A record has been set to 300 seconds. This is lower than normal and so the traffic will be rotated in Round Robin Mode.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.rrdns.com/round-robin-dns-setup-a-howto.html/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;title=Round+Robin+DNS+Setup+%3A%3A+A+Howto" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;title=Round+Robin+DNS+Setup+%3A%3A+A+Howto" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;title=Round+Robin+DNS+Setup+%3A%3A+A+Howto&amp;desc=Round%20Robin%20DNS%20is%20a%20technique%20involving%20changes%20to%20the%20DNS%20records%20%20The%20TTL%20or%20the%20Time%20to%20Live%20plays%20a%20very%20important%20part%20for%20Round%20Robin%20DNS%20to%20work.%20We%20will%20see%20some%20practical%20examples%20of%20DNS%20being%20using%20in%20Round%20Robin%20mode%20below%3A%0D%0A%0D%0A1.%20If%20you%20need%20a%20site%27s%20http%20traffic%20to%20be%20distributed%20to%20mul" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;bm_description=Round+Robin+DNS+Setup+%3A%3A+A+Howto&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;title=Round+Robin+DNS+Setup+%3A%3A+A+Howto" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;title=Round+Robin+DNS+Setup+%3A%3A+A+Howto" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;title=Round+Robin+DNS+Setup+%3A%3A+A+Howto" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.rrdns.com/round-robin-dns-setup-a-howto.html" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Round+Robin+DNS+Setup+%3A%3A+A+Howto+-+http://www.rrdns.com/round-robin-dns-setup-a-howto.html&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://www.rrdns.com/clustered-mail-server-setup-with-atmail.html' rel='bookmark' title='Permanent Link: Clustered Mail Server Setup with @mail'>Clustered Mail Server Setup with @mail</a> <small>We recently configured a clustered mail server setup and webmail...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.rrdns.com/round-robin-dns-setup-a-howto.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Install Lighttpd + PHP in Fastcgi Mode</title>
		<link>http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html</link>
		<comments>http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html#comments</comments>
		<pubDate>Sat, 10 May 2008 08:17:10 +0000</pubDate>
		<dc:creator>Webmaster</dc:creator>
				<category><![CDATA[How To's]]></category>
		<category><![CDATA[lighttpd php fastcgi]]></category>

		<guid isPermaLink="false">http://www.rrdns.com/?p=5</guid>
		<description><![CDATA[Lighttpd (http://www.lighttpd.net) is a webserver daemon which we widely use for cluster deployment. Lighttpd has a smaller memory footprint as compared to Apache(http://httpd.apache.org) which is widely used on most production servers all over the world. The efficient CPU management features and fast speed from Lighttpd make it a preferred choice for high traffic sites and [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><em><strong>Li</strong></em><em><strong>ghttpd</strong></em> (<a href="http://www.lighttpd.net">http://www.lighttpd.net</a>) is a webserver daemon which we widely use for cluster deployment<strong>. </strong>Lighttpd has a smaller memory footprint as compared to <em><strong>Apache</strong></em>(<a href="http://httpd.apache.org">http://httpd.apache.org</a>) which is widely used on most production servers all over the world. The <em>efficient</em> CPU management features and fast speed from Lighttpd make it a preferred choice for high traffic sites and clusters. We prefer using it as well for our clusters along with php running in FastCGI mode. This combination provides an awesome fast environment for dynamic delivery of PHP based content. The following how to shows instructions on installing Lighttpd+PHP in FastCGI mode.</p>
<p style="text-align: center;"><img class="size-full wp-image-7 aligncenter" style="vertical-align: middle;" title="light_button" src="http://www.rrdns.com/wp-content/uploads/2008/05/light_button.png" alt="" width="80" height="27" /></p>
<p style="text-align: center;"><img class="size-full wp-image-8 aligncenter" style="vertical-align: middle;" title="php-power-micro2" src="http://www.rrdns.com/wp-content/uploads/2008/05/php-power-micro2.png" alt="" width="80" height="15" /></p>
<p style="text-align: justify;">We have to check for some prerequisites here before doing this installation. I will list them out as below :</p>
<ul>
<li style="text-align: justify;">MySQL Server Installation</li>
<li style="text-align: justify;">Openssl Installed</li>
<li style="text-align: justify;">Pcre and Pcre-devel packages installed</li>
</ul>
<p style="text-align: justify;">These are just basic requirements and if you need some other special modules installed these may change as well. I am assuming the OS for the server would be CentOS 5.x in this how to but I do believe this how to should work for Fedora, CentOS or RHEL as well. You can use &#8220;<em><strong>yum</strong></em>&#8221; to install the above requirments or use &#8220;<em><strong>up2date</strong></em>&#8221; on RHEL . Lets assume that the prerequisites are already satisfied and we will proceed with the actual installation.  We will make a temporary directory for the installation so that we can remove this directory once the installation is successful.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>lighttpd_install</pre></div></div>

<p style="text-align: justify;">We will download the latest lighttpd source file from their site and uncompress it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>lighttpd_install
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.lighttpd.net<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>lighttpd-1.4.19.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzf lighttpd-1.4.19.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> lighttpd-1.4.19
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>Once Lighttpd is installed we need to copy the init.d script for Lighttpd and also the spawn-php.sh script to /etc/init.d/ . This spawn-php.sh will be used to spawn php-fcgi processes later after we build PHP.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-av</span> doc<span style="color: #000000; font-weight: bold;">/</span>rc.lighttpd.redhat <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>lighttpd
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-av</span> doc<span style="color: #000000; font-weight: bold;">/</span>spawn-php.sh <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>spawn-php.sh</pre></div></div>

<p>Now we need to build fastcgi on the server.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.fastcgi.com<span style="color: #000000; font-weight: bold;">/</span>dist<span style="color: #000000; font-weight: bold;">/</span>fcgi-2.4.0.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> xvf fcgi-2.4.0.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> fcgi-2.4.0
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p style="text-align: justify;">Php needs to be built after this step. You can either use php4 or php5 as per your requirement. You need to download the php source from the <em><strong>PHP</strong></em> <em><strong>site</strong></em> (http://www.php.net) into the /usr/src/lighttpd_install before proceeding to the next step. We will be using PHP5 in this case and the php version used for the tutorial is php 5.2.6 . Once you have downloaded the source the steps would be as below:  If you have an existing and working php installation on the server, you can use the same configure options for building php again. The following code snippet should get you the existing config line without the options we need for the build</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">php <span style="color: #660033;">-i</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> config <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;'&quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&amp;lt;.*&amp;gt; &quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span>\
<span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&amp;lt;\/.*&amp;gt;&quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;.* =&amp;gt;  &quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;'&quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span>\
<span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;--with-apxs=.*apxs &quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;.\/configure &quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span>\
<span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;--prefix=\/usr\/local &quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> s<span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;--with-apxs2=.*apxs &quot;</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #ff0000;">&quot;&quot;</span><span style="color: #000000; font-weight: bold;">/</span>g <span style="color: #000000; font-weight: bold;">|</span>\
<span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> ^tidy</pre></div></div>

<p>Use this output from the above command along with the options below as your configure line to build php as fastcgi</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>php5-fcgi --enable-force-cgi-redirect\
<span style="color: #660033;">--enable-fastcgi</span> <span style="color: #660033;">--enable-discard-path</span></pre></div></div>

<p>If you do not have an existing php installation, just build php with whatever options you need and add the &#8211;enable-fastcgi options as above.  The procedure would be as below:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>lighttpd_install
<span style="color: #c20cb9; font-weight: bold;">tar</span> zxf php-5.2.6.tar.gz
.<span style="color: #000000; font-weight: bold;">/</span>configure ---<span style="color: #7a0874; font-weight: bold;">&#40;</span>add options you need to add or use\
 the config line generated from above<span style="color: #7a0874; font-weight: bold;">&#41;</span>\--prefix=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>php5-fcgi\
<span style="color: #660033;">--enable-force-cgi-redirect</span> <span style="color: #660033;">--enable-fastcgi</span> <span style="color: #660033;">--enable-discard-path</span>
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>If the installation is successfull you should should see php built with cgi-fcgi mode as below. Please node the php binary name could also be php-cgi.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>server ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># /usr/local/php5-fcgi/bin/php -v</span>
PHP 5.2.6 <span style="color: #7a0874; font-weight: bold;">&#40;</span>cgi-fcgi<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>built: May  <span style="color: #000000;">8</span> <span style="color: #000000;">2008</span> 02:<span style="color: #000000;">38</span>:<span style="color: #000000;">11</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">1997</span>-<span style="color: #000000;">2008</span> The PHP Group
Zend Engine v2.2.0, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">1998</span>-<span style="color: #000000;">2008</span> Zend Technologies
    with eAccelerator v0.9.5.2, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2004</span>-<span style="color: #000000;">2006</span> eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.1.32, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2002</span>-<span style="color: #000000;">2007</span>, by ionCube Ltd., and
    with Zend Extension Manager v1.2.2, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2003</span>-<span style="color: #000000;">2007</span>, by Zend Technologies
    with Zend Optimizer v3.3.3, Copyright <span style="color: #7a0874; font-weight: bold;">&#40;</span>c<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">1998</span>-<span style="color: #000000;">2007</span>, by Zend Technologies</pre></div></div>

<p style="text-align: justify;">After successfully building Lighttpd and PHP in Fastcgi mode, its times to now configure them to work together. In this tutorial we are considering a single site environment and so we will set the configuration files accordingly. We will be adding some more how to&#8217;s soon which will show the configurations that need to be done for multi site environments or even complex setups like load balancing using Apache and Lighttpd together.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>lighttpd_install<span style="color: #000000; font-weight: bold;">/</span>lighttpd-1.4.19
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #660033;">-v</span> doc<span style="color: #000000; font-weight: bold;">/</span>lighttpd.conf <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lighttpd<span style="color: #000000; font-weight: bold;">/</span>lighttpd.conf</pre></div></div>

<p>We need to make sure the following modules are now enabled in the lighttpd.conf . They just need to be uncommented.</p>
<ul>
<li>mod_rewrite</li>
<li>mod_redirect</li>
<li>mod_alias</li>
<li>mod_access</li>
<li>mod_cml</li>
<li>mod_auth</li>
<li>mod_status</li>
<li>mod_setenv</li>
<li>mod_fastcgi</li>
<li>mod_simple_vhost</li>
<li>mod_cgi</li>
<li>mod_ssi</li>
<li>mod_accesslog</li>
</ul>
<p>Your server modules section of lighttpd.conf should look as below after the change :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">server.modules              = <span style="color: #7a0874; font-weight: bold;">&#40;</span>
                               <span style="color: #ff0000;">&quot;mod_rewrite&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_redirect&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_alias&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_access&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_cml&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_auth&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_status&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_setenv&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_fastcgi&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_simple_vhost&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_cgi&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_ssi&quot;</span>,
                               <span style="color: #ff0000;">&quot;mod_accesslog&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>The other options that need to be changed are:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">server.document-root        = <span style="color: #ff0000;">&quot;/home/username/public_html&quot;</span></pre></div></div>

<p>The document root can even be in /var/www/html or just anywhere you want . We choose /home/username/public_html for easier ftp access to the location for updates.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">server.errorlog             = <span style="color: #ff0000;">&quot;/home/username/logs/error.log&quot;</span></pre></div></div>

<p style="text-align: justify;">Changing this setting is optional. If you want the user to have access to the error log then change the above option. Otherwise you can leave the setting as it is. Just make sure you have created the file folder /var/log/lighttpd and chowned it to the username you run lighttpd and php as.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">accesslog.filename          = <span style="color: #ff0000;">&quot;/home/username/logs/access.log&quot;</span></pre></div></div>

<p>Again this setting is also optional. If you want the user to have access to the access log then change the above option.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">server.port                = <span style="color: #000000;">80</span></pre></div></div>

<p>The default port is 80. If you want to test or run your lighttpd installation on a non-standard port, you need to change this.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">server.bind                = <span style="color: #ff0000;">&quot;xxx.xxx.xxx.xxx&quot;</span></pre></div></div>

<p>This is the Ip address lighttpd listens on. By default it listens on all IPs. If you want it binded to just one Ip on the server you need specify this option.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">server.username            = <span style="color: #ff0000;">&quot;username&quot;</span>
server.groupname           = <span style="color: #ff0000;">&quot;username&quot;</span></pre></div></div>

<p>The username and group which lighttpd will run as. We are going to have the server running in suexec mode when we specify these options. Files created by the webserver will be owned by the username itself.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">fastcgi.server = <span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #ff0000;">&quot;.php&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt;
  <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #ff0000;">&quot;host&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;127.0.0.1&quot;</span>,
     <span style="color: #ff0000;">&quot;port&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000;">1026</span>,
     <span style="color: #ff0000;">&quot;bin-path&quot;</span> =<span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;/usr/local/php5-fcgi/bin/php&quot;</span>
  <span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p style="text-align: justify;">In the above section we are specifying how php files will be handled. The bin-path will change as well as the port based on the spawn-php.sh script which we will be configuring next. After all these changes, the lighttpd.conf is all setup for use once you save the file.  We will now configure the spawn-php.sh script which we have previously copied to /etc/init.d/</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">vi</span> spawn-php.sh</pre></div></div>

<p>The following options need to be edited in this script:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">SPAWNFCGI</span>=<span style="color: #ff0000;">&quot;/usr/bin/spawn-fcgi&quot;</span></pre></div></div>

<p>The path to spawn-fcgi will be as above as we have configured it with /usr prefix before.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">FCGIPROGRAM</span>=<span style="color: #ff0000;">&quot;/usr/local/php5-fcgi/bin/php&quot;</span></pre></div></div>

<p>This path would be the absolute path to the php-fcgi binary. Please note it can be be /usr/local/php5-fcgi/bin/php-cgi as well.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">FCGIPORT</span>=<span style="color: #ff0000;">&quot;1026&quot;</span>
<span style="color: #007800;">FCGI_WEB_SERVER_ADDRS</span>=<span style="color: #ff0000;">&quot;127.0.0.1&quot;</span></pre></div></div>

<p>These can be left alone as they are unless you want a different Ip or Port specifically.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">USERID</span>=username
<span style="color: #007800;">GROUPID</span>=username</pre></div></div>

<p>The userid and groupid for the script would be same as the one you have used in the lighttpd.conf before. Save the script and then chmod it to 755 and run it. You should see something like below as the output:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">spawn-fcgi.c.197: child spawned successfully: PID: <span style="color: #000000;">10985</span></pre></div></div>

<p>Now it is time to start lighttpd . Make sure the lighttpd logs folders are created and the user ownerships are set correctly. Once that is done, you can start lighttpd using the command as below:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>server ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;">#/etc/init.d/lighttpd start</span>
Starting lighttpd: <span style="color: #7a0874; font-weight: bold;">&#91;</span>  OK  <span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Check the status to make sure it is running otherwise check the error log as set in the config file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>server ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># /etc/init.d/lighttpd status</span>
lighttpd <span style="color: #7a0874; font-weight: bold;">&#40;</span>pid <span style="color: #000000;">11210</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> is running...</pre></div></div>

<p>This completes the installation steps. To test php you can upload a phpinfo file in the document root folder. A sample phpinfo.php would have the code like :</p>
<p>If your installation is running correctly, you should see the server API as CGI/FastCGI as it shows in the image below.  <a href="http://www.rrdns.com/wp-content/uploads/2008/05/fastcgi.jpg"><img class="aligncenter size-full wp-image-11" title="fastcgi" src="http://www.rrdns.com/wp-content/uploads/2008/05/fastcgi.jpg" alt="" width="500" height="261" /></a><br />
If you see the above, you have completed a successful installation of lighttpd and php running as a fastcgi.  We hope you liked this how to and it is useful for setting up high performance lighttpd+php fastcgi setups for your site.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-wealth">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;title=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;title=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;title=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode&amp;desc=Lighttpd%20%28http%3A%2F%2Fwww.lighttpd.net%29%20is%20a%20webserver%20daemon%20which%20we%20widely%20use%20for%20cluster%20deployment.%20Lighttpd%20has%20a%20smaller%20memory%20footprint%20as%20compared%20to%20Apache%28http%3A%2F%2Fhttpd.apache.org%29%20which%20is%20widely%20used%20on%20most%20production%20servers%20all%20over%20the%20world.%20The%20efficient%20CPU%20management%20features%20and%20fa" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;bm_description=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;title=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;title=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;title=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-technorati">
			<a href="http://technorati.com/faves?add=http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+to+Install+Lighttpd+%2B+PHP+in+Fastcgi+Mode+-+http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.rrdns.com/how-to-install-lighttpd-php-in-fastcgi-mode.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
