<?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: FreeBSD: Nginx FastCGI PHP Configuration</title> <atom:link href="http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Shatil</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-53637</link> <dc:creator>Shatil</dc:creator> <pubDate>Sun, 26 Dec 2010 03:28:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-53637</guid> <description>Hi guys,
FreeBSD&#039;s ports selection (at least 8.1&#039;s---I&#039;ve been using it for four hours now) has PHP 5.3.4+ now, which means PHP-FPM comes standard as long as you compile it through ports. With that, you can do away with needing spawn-fcgi, lighttpd, and the other nonsense that used to be necessary to get PHP + Nginx working.
Maybe you could post another post with that?</description> <content:encoded><![CDATA[<p>Hi guys,</p><p>FreeBSD&#8217;s ports selection (at least 8.1&#8242;s&#8212;I&#8217;ve been using it for four hours now) has PHP 5.3.4+ now, which means PHP-FPM comes standard as long as you compile it through ports. With that, you can do away with needing spawn-fcgi, lighttpd, and the other nonsense that used to be necessary to get PHP + Nginx working.</p><p>Maybe you could post another post with that?</p> ]]></content:encoded> </item> <item><title>By: Dustin Sweigart</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-42370</link> <dc:creator>Dustin Sweigart</dc:creator> <pubDate>Fri, 03 Jul 2009 19:08:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-42370</guid> <description>my config: http://swigg.net/nginx.txt
Normally it runs fine, you can check out http://swigg.net/ if you&#039;d like to see PHP running normally. But push the server really hard and whatever process exists after you call spawn-fcgi dies (as in it is no longer running)
&lt;code&gt;[error] 24813#0: *1032 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 64.22.125.174, server: localhost, request: &quot;GET / HTTP/1.0&quot;, upstream: &quot;fastcgi://127.0.0.1:10005&quot;, host: &quot;swigg.net&quot;
[error] 24813#0: *3964 connect() failed (111: Connection refused) while connecting to upstream, client: 64.22.125.174, server: localhost, request: &quot;GET / HTTP/1.0&quot;, upstream: &quot;fastcgi://127.0.0.1:10005&quot;, host: &quot;swigg.net&quot;&lt;/code&gt;</description> <content:encoded><![CDATA[<p>my config: <a
href="http://swigg.net/nginx.txt" rel="nofollow">http://swigg.net/nginx.txt</a></p><p>Normally it runs fine, you can check out <a
href="http://swigg.net/" rel="nofollow">http://swigg.net/</a> if you&#8217;d like to see PHP running normally. But push the server really hard and whatever process exists after you call spawn-fcgi dies (as in it is no longer running)</p><p><code>[error] 24813#0: *1032 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 64.22.125.174, server: localhost, request: "GET / HTTP/1.0", upstream: "fastcgi://127.0.0.1:10005", host: "swigg.net"</p><p>[error] 24813#0: *3964 connect() failed (111: Connection refused) while connecting to upstream, client: 64.22.125.174, server: localhost, request: "GET / HTTP/1.0", upstream: "fastcgi://127.0.0.1:10005", host: "swigg.net"</code></p> ]]></content:encoded> </item> <item><title>By: Vivek Gite</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-42366</link> <dc:creator>Vivek Gite</dc:creator> <pubDate>Fri, 03 Jul 2009 15:12:08 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-42366</guid> <description>Do you get any specific error in a log file? Also, specify your server config</description> <content:encoded><![CDATA[<p>Do you get any specific error in a log file? Also, specify your server config</p> ]]></content:encoded> </item> <item><title>By: Dustin Sweigart</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-42365</link> <dc:creator>Dustin Sweigart</dc:creator> <pubDate>Fri, 03 Jul 2009 14:36:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-42365</guid> <description>I set this up and it works great, but under high loads (testing with apache&#039;s ab) the spawn-fcgi/php-cgi process dies and so my server stops being able to load PHP. I know I&#039;m testing with an unrealistic load on my server, but I also don&#039;t want others to be able to so easily break my server.
&lt;code&gt;ab -n1000 -c200 http://websiteurl/&lt;/code&gt;
Does anyone else have this problem, and if so, does anyone know how to fix it?</description> <content:encoded><![CDATA[<p>I set this up and it works great, but under high loads (testing with apache&#8217;s ab) the spawn-fcgi/php-cgi process dies and so my server stops being able to load PHP. I know I&#8217;m testing with an unrealistic load on my server, but I also don&#8217;t want others to be able to so easily break my server.<br
/> <code>ab -n1000 -c200 <a
href="http://websiteurl/" rel="nofollow">http://websiteurl/</a></code></p><p>Does anyone else have this problem, and if so, does anyone know how to fix it?</p> ]]></content:encoded> </item> <item><title>By: ksil</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-42264</link> <dc:creator>ksil</dc:creator> <pubDate>Sat, 27 Jun 2009 09:23:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-42264</guid> <description>Hi, thank you for useful post.  Let me cite this article in my Japanese blog:
http://d.hatena.ne.jp/ksil/20090627/1246093375</description> <content:encoded><![CDATA[<p>Hi, thank you for useful post.  Let me cite this article in my Japanese blog:<br
/> <a
href="http://d.hatena.ne.jp/ksil/20090627/1246093375" rel="nofollow">http://d.hatena.ne.jp/ksil/20090627/1246093375</a></p> ]]></content:encoded> </item> <item><title>By: Bash</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-42024</link> <dc:creator>Bash</dc:creator> <pubDate>Thu, 11 Jun 2009 20:44:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-42024</guid> <description>This guy does not cite your blog:
http://claudiuc.easyblog.ro/2009/04/freebsd-nginx-fastcgi-php-configuration/</description> <content:encoded><![CDATA[<p>This guy does not cite your blog:</p><p><a
href="http://claudiuc.easyblog.ro/2009/04/freebsd-nginx-fastcgi-php-configuration/" rel="nofollow">http://claudiuc.easyblog.ro/2009/04/freebsd-nginx-fastcgi-php-configuration/</a></p> ]]></content:encoded> </item> <item><title>By: symbol</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-41963</link> <dc:creator>symbol</dc:creator> <pubDate>Mon, 08 Jun 2009 03:52:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-41963</guid> <description>yea. and spawn_fcgi_enable=&quot;YES&quot; &gt;&gt; /etc/rc.conf seem to do the trick
or am i missing something that would come back to haunt me sometime later</description> <content:encoded><![CDATA[<p>yea. and spawn_fcgi_enable=&#8221;YES&#8221; &gt;&gt; /etc/rc.conf seem to do the trick</p><p>or am i missing something that would come back to haunt me sometime later</p> ]]></content:encoded> </item> <item><title>By: Leo Vandewoestijne</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-41519</link> <dc:creator>Leo Vandewoestijne</dc:creator> <pubDate>Fri, 08 May 2009 00:12:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-41519</guid> <description>Maybe the port wasn&#039;t available by writing your article, or maybe I&#039;m confusing things... ...but the step &quot;Install spawn-fcgi&quot;, can that be done without any lighttpd? Like:
&lt;code&gt;pkg_add spawn-fcgi&lt;/code&gt;
?</description> <content:encoded><![CDATA[<p>Maybe the port wasn&#8217;t available by writing your article, or maybe I&#8217;m confusing things&#8230; &#8230;but the step &#8220;Install spawn-fcgi&#8221;, can that be done without any lighttpd? Like:<br
/> <code>pkg_add spawn-fcgi</code><br
/> ?</p> ]]></content:encoded> </item> <item><title>By: Ed</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-40810</link> <dc:creator>Ed</dc:creator> <pubDate>Wed, 18 Mar 2009 16:50:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-40810</guid> <description>Thanks for the great tutorial. Long life for freebsd and nginx!</description> <content:encoded><![CDATA[<p>Thanks for the great tutorial. Long life for freebsd and nginx!</p> ]]></content:encoded> </item> <item><title>By: George Bonev</title><link>http://www.cyberciti.biz/faq/freebsd-configure-nginx-php-fastcgi-server/#comment-40464</link> <dc:creator>George Bonev</dc:creator> <pubDate>Tue, 24 Feb 2009 15:29:20 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/?p=2100#comment-40464</guid> <description>Worked Like a charm / thx :)</description> <content:encoded><![CDATA[<p>Worked Like a charm / thx :)</p> ]]></content:encoded> </item> </channel> </rss>
