<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Lighttpd PHP fastcgi configuration</title> <atom:link href="http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Stephan Hughson</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-171296</link> <dc:creator>Stephan Hughson</dc:creator> <pubDate>Fri, 13 May 2011 10:34:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-171296</guid> <description>On Ubuntu (and probably Debian too as I bet it&#039;s the same package), you don&#039;t need to add that stuff manually to lighttpd.conf anymore.
To get php running with lighttpd, you can just do:
apt-get install lighttpd php5-cgi &amp;&amp; lighttpd-enable-mod &amp;&amp; service lighttpd restart</description> <content:encoded><![CDATA[<p>On Ubuntu (and probably Debian too as I bet it&#8217;s the same package), you don&#8217;t need to add that stuff manually to lighttpd.conf anymore.</p><p>To get php running with lighttpd, you can just do:</p><p>apt-get install lighttpd php5-cgi &amp;&amp; lighttpd-enable-mod &amp;&amp; service lighttpd restart</p> ]]></content:encoded> </item> <item><title>By: Juan</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-170407</link> <dc:creator>Juan</dc:creator> <pubDate>Thu, 31 Mar 2011 20:30:16 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-170407</guid> <description>It worked on Debian 6, lighttpd 1.4.28, PHP 5.3.6
Thanks!</description> <content:encoded><![CDATA[<p>It worked on Debian 6, lighttpd 1.4.28, PHP 5.3.6</p><p>Thanks!</p> ]]></content:encoded> </item> <item><title>By: Diego Martins</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-159909</link> <dc:creator>Diego Martins</dc:creator> <pubDate>Tue, 28 Sep 2010 00:16:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-159909</guid> <description>Dud, It&#039;s Perfect!Everthing goes fine here! Tanks a lot!</description> <content:encoded><![CDATA[<p>Dud, It&#8217;s Perfect!Everthing goes fine here! Tanks a lot!</p> ]]></content:encoded> </item> <item><title>By: needHelp</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-157547</link> <dc:creator>needHelp</dc:creator> <pubDate>Thu, 08 Jul 2010 18:42:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-157547</guid> <description>Hi, I wanted to install Lighttpd with PHP support on my Fedora 12 VM. However, I don&#039;t have access to the internet on the VMware station neither do I have yum installed. Any suggestions on how I could install Lighttpd with PHP support?
Thanks a lot!</description> <content:encoded><![CDATA[<p>Hi, I wanted to install Lighttpd with PHP support on my Fedora 12 VM. However, I don&#8217;t have access to the internet on the VMware station neither do I have yum installed. Any suggestions on how I could install Lighttpd with PHP support?</p><p>Thanks a lot!</p> ]]></content:encoded> </item> <item><title>By: brainextender</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-148557</link> <dc:creator>brainextender</dc:creator> <pubDate>Thu, 14 May 2009 13:33:26 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-148557</guid> <description>I wonder how to enable fast-cgi for pages with html extension?!</description> <content:encoded><![CDATA[<p>I wonder how to enable fast-cgi for pages with html extension?!</p> ]]></content:encoded> </item> <item><title>By: Ulrich</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-146640</link> <dc:creator>Ulrich</dc:creator> <pubDate>Sat, 10 Jan 2009 15:29:54 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-146640</guid> <description>I&#039;ve read, that it is recommended to set PHP_FCGI_MAX_REQUESTS to something like 500.</description> <content:encoded><![CDATA[<p>I&#8217;ve read, that it is recommended to set PHP_FCGI_MAX_REQUESTS to something like 500.</p> ]]></content:encoded> </item> <item><title>By: China pictures</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-145322</link> <dc:creator>China pictures</dc:creator> <pubDate>Wed, 22 Oct 2008 07:06:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-145322</guid> <description>Hi,
I want to have multiple php error_log files without using different php.ini files.
Any ideas ?
Thanks</description> <content:encoded><![CDATA[<p>Hi,</p><p>I want to have multiple php error_log files without using different php.ini files.</p><p>Any ideas ?</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: qingqing</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-144398</link> <dc:creator>qingqing</dc:creator> <pubDate>Thu, 17 Jul 2008 20:41:48 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-144398</guid> <description>I would like to set up a configuration just using CGI rather than fastcgi.
how should i set the configure file for it. thx</description> <content:encoded><![CDATA[<p>I would like to set up a configuration just using CGI rather than fastcgi.</p><p>how should i set the configure file for it. thx</p> ]]></content:encoded> </item> <item><title>By: admin</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-143780</link> <dc:creator>admin</dc:creator> <pubDate>Wed, 14 May 2008 11:05:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-143780</guid> <description>Sir
My server with lighttpd is working good and scripts are also running but they are not been abel to connect to there respective databases .Hense I am still on Apache . Please figure it out for me if you can.
Thanks.</description> <content:encoded><![CDATA[<p>Sir<br
/> My server with lighttpd is working good and scripts are also running but they are not been abel to connect to there respective databases .Hense I am still on Apache . Please figure it out for me if you can.</p><p>Thanks.</p> ]]></content:encoded> </item> <item><title>By: mumuri</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-143685</link> <dc:creator>mumuri</dc:creator> <pubDate>Mon, 05 May 2008 22:21:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-143685</guid> <description>for ubuntu it&#039;s
apt-get install php5-cgi</description> <content:encoded><![CDATA[<p>for ubuntu it&#8217;s<br
/> apt-get install php5-cgi</p> ]]></content:encoded> </item> <item><title>By: semarsuper</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-142998</link> <dc:creator>semarsuper</dc:creator> <pubDate>Sun, 24 Feb 2008 17:19:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-142998</guid> <description>mayank: what OS are you running ?
you need to install lighttpd-fastcgi,
redhat/fedora/centos
# yum install lighttpd-fastcgi</description> <content:encoded><![CDATA[<p>mayank: what OS are you running ?<br
/> you need to install lighttpd-fastcgi,</p><p>redhat/fedora/centos<br
/> # yum install lighttpd-fastcgi</p> ]]></content:encoded> </item> <item><title>By: mayank</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-142289</link> <dc:creator>mayank</dc:creator> <pubDate>Thu, 27 Dec 2007 09:04:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-142289</guid> <description>Starting lighttpd: 2007-12-27 14:26:03: (plugin.c.165) dlopen() failed for: /usr/lib/lighttpd/mod_fastcgi.so /usr/lib/lighttpd/mod_fastcgi.so: undefined symbol: ltostr
2007-12-27 14:26:03: (server.c.621) loading plugins finally failed
[FAILED]
i am unable to start it</description> <content:encoded><![CDATA[<p>Starting lighttpd: 2007-12-27 14:26:03: (plugin.c.165) dlopen() failed for: /usr/lib/lighttpd/mod_fastcgi.so /usr/lib/lighttpd/mod_fastcgi.so: undefined symbol: ltostr<br
/> 2007-12-27 14:26:03: (server.c.621) loading plugins finally failed<br
/> [FAILED]<br
/> i am unable to start it</p> ]]></content:encoded> </item> <item><title>By: mmao</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-141942</link> <dc:creator>mmao</dc:creator> <pubDate>Sat, 24 Nov 2007 03:07:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-141942</guid> <description>You also need to create the log dir and the socket file dir, otherwise, the server can not be started</description> <content:encoded><![CDATA[<p>You also need to create the log dir and the socket file dir, otherwise, the server can not be started</p> ]]></content:encoded> </item> <item><title>By: RuBiCK</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140501</link> <dc:creator>RuBiCK</dc:creator> <pubDate>Mon, 16 Jul 2007 22:07:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140501</guid> <description>It works!
I write the solution:
server.modules   += ( &quot;mod_fastcgi&quot; )
fastcgi.server    = ( &quot;.php&quot; =&gt;
((
&quot;bin-path&quot; =&gt; &quot;/usr/bin/php4-cgi&quot;,
&quot;socket&quot; =&gt; &quot;/tmp/php.socket&quot;,
&quot;max-procs&quot; =&gt; 2,
&quot;idle-timeout&quot; =&gt; 20,
&quot;bin-environment&quot; =&gt; (
&quot;PHP_FCGI_CHILDREN&quot; =&gt; &quot;4&quot;,
&quot;PHP_FCGI_MAX_REQUESTS&quot; =&gt; &quot;10000&quot;
),
&quot;bin-copy-environment&quot; =&gt; (
&quot;PATH&quot;, &quot;SHELL&quot;, &quot;USER&quot;
),
&quot;broken-scriptfilename&quot; =&gt; &quot;enable&quot;
))
)</description> <content:encoded><![CDATA[<p>It works!</p><p>I write the solution:</p><p>server.modules   += ( &#8220;mod_fastcgi&#8221; )</p><p>fastcgi.server    = ( &#8220;.php&#8221; =&gt;<br
/> ((<br
/> &#8220;bin-path&#8221; =&gt; &#8220;/usr/bin/php4-cgi&#8221;,<br
/> &#8220;socket&#8221; =&gt; &#8220;/tmp/php.socket&#8221;,<br
/> &#8220;max-procs&#8221; =&gt; 2,<br
/> &#8220;idle-timeout&#8221; =&gt; 20,<br
/> &#8220;bin-environment&#8221; =&gt; (<br
/> &#8220;PHP_FCGI_CHILDREN&#8221; =&gt; &#8220;4&#8243;,<br
/> &#8220;PHP_FCGI_MAX_REQUESTS&#8221; =&gt; &#8220;10000&#8243;<br
/> ),<br
/> &#8220;bin-copy-environment&#8221; =&gt; (<br
/> &#8220;PATH&#8221;, &#8220;SHELL&#8221;, &#8220;USER&#8221;<br
/> ),<br
/> &#8220;broken-scriptfilename&#8221; =&gt; &#8220;enable&#8221;<br
/> ))<br
/> )</p> ]]></content:encoded> </item> <item><title>By: RuBiCK</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140500</link> <dc:creator>RuBiCK</dc:creator> <pubDate>Mon, 16 Jul 2007 19:47:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140500</guid> <description>Hi,
I get the next error when I try to start lighttpd
Starting web server: lighttpd2007-07-16 21:43:23: (configfile.c.827) source: /etc/lighttpd/lighttpd.conf line: 164 pos: 31 parser failed somehow near here: socket
failed!
The line 146 is the socket configuration for php.
Any ideas????</description> <content:encoded><![CDATA[<p>Hi,</p><p>I get the next error when I try to start lighttpd</p><p>Starting web server: lighttpd2007-07-16 21:43:23: (configfile.c.827) source: /etc/lighttpd/lighttpd.conf line: 164 pos: 31 parser failed somehow near here: socket<br
/> failed!</p><p>The line 146 is the socket configuration for php.</p><p>Any ideas????</p> ]]></content:encoded> </item> <item><title>By: vivek</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140358</link> <dc:creator>vivek</dc:creator> <pubDate>Tue, 03 Jul 2007 12:04:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140358</guid> <description>Pierre,
Thanks for the heads up. Post has been updated...</description> <content:encoded><![CDATA[<p>Pierre,</p><p>Thanks for the heads up. Post has been updated&#8230;</p> ]]></content:encoded> </item> <item><title>By: Pierre</title><link>http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140357</link> <dc:creator>Pierre</dc:creator> <pubDate>Tue, 03 Jul 2007 10:41:43 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/lighttpd-php-fastcgi-configuration.html#comment-140357</guid> <description>There is an typo in:
&lt;code&gt; fastcgi.server = ( “.php” =&gt; ((
“bin-path” =&gt; “/usr/bin/php-cgi”,
“socket” =&gt; “/tmp/php.socket”,
)))  &lt;/code&gt;
the last &quot;,&quot; is actually causing issues.</description> <content:encoded><![CDATA[<p>There is an typo in:<br
/> <code> fastcgi.server = ( “.php” =&gt; ((<br
/> “bin-path” =&gt; “/usr/bin/php-cgi”,<br
/> “socket” =&gt; “/tmp/php.socket”,<br
/> ))) </code></p><p>the last &#8220;,&#8221; is actually causing issues.</p> ]]></content:encoded> </item> </channel> </rss>
