<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[Holmesian's]]></title> 
<link>http://holmesian.org/index.php</link> 
<description><![CDATA[不能则学，不知则问，耻于问人，决无长进。]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[Holmesian's]]></copyright>
<item>
<link>http://holmesian.org/FreeBSD_nginx_fastcgi_error/</link>
<title><![CDATA[FreeBSD+nginx+spawn-fcgi出错的解决]]></title> 
<author>Holmesian &lt;Holmesian@qq.com&gt;</author>
<category><![CDATA[日积月累]]></category>
<pubDate>Mon, 01 Feb 2010 05:34:45 +0000</pubDate> 
<guid>http://holmesian.org/FreeBSD_nginx_fastcgi_error/</guid> 
<description>
<![CDATA[ 
	<p>
<p>终于解决FreeBSD下Nginx做前端 FastCGI的PHP出现问题的情况了，原因很囧</p>
<p>过程如下：</p>
<p>ecjtu# whereis php-cgi</p>
<p>php-cgi: /usr/local/bin/php-cgi</p>
<p>ecjtu# spawn-fcgi -a 127.0.0.1 -p 139 -C 64 -f /usr/local/php/bin/php-cgi &nbsp; &nbsp;&nbsp;</p>
<p>spawn-fcgi: child exited with: 127</p>
<p>ecjtu# spawn-fcgi -a 127.0.0.1 -p 139 -C 64 -u www -f /usr/local/bin/php-cgi</p>
<p>spawn-fcgi: child exited with: 13</p>
<p>ecjtu# spawn-fcgi -a 127.0.0.1 -p 139 -C 64 -U www -f /usr/local/bin/php-cgi</p>
<p>spawn-fcgi: child spawned successfully: PID: 39766</p>
<p>现在OK了</p>
<p>莫非127错误是php-cgi位置错误 &nbsp;13错误是大写U写成了小写u</p>
</p><br/>Tags - <a href="http://holmesian.org/tags/freebsd/" rel="tag">freebsd</a> , <a href="http://holmesian.org/tags/nginx/" rel="tag">nginx</a> , <a href="http://holmesian.org/tags/%25E8%25A7%25A3%25E5%2586%25B3/" rel="tag">解决</a> , <a href="http://holmesian.org/tags/fcgi/" rel="tag">fcgi</a>
]]>
</description>
</item><item>
<link>http://holmesian.org/FreeBSD_nginx_fastcgi_error/#blogcomment</link>
<title><![CDATA[[评论] FreeBSD+nginx+spawn-fcgi出错的解决]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://holmesian.org/FreeBSD_nginx_fastcgi_error/#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>