<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[静怡家园]]></title> 
<link>http://www.zhanghaijun.com/index.php</link> 
<description><![CDATA[书山有路勤为径，学海无涯苦作舟！]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[静怡家园]]></copyright>
<item>
<link>http://www.zhanghaijun.com/post//</link>
<title><![CDATA[windows2008中IIS7安装图文+fastcgi模式PHP配置教程 ]]></title> 
<author>碟舞飞扬 &lt;webmaster@zhanghaijun.com&gt;</author>
<category><![CDATA[服务器类]]></category>
<pubDate>Mon, 30 Nov 2009 15:15:14 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/post//</guid> 
<description>
<![CDATA[ 
	1、右键“计算机”，点击“管理”<br/><IMG src="attachment/2009-11/20091130231419526.jpg"><br/>2、添加角色<br/><IMG src="attachment/2009-11/20091130231423697.jpg"><br/><IMG src="attachment/2009-11/20091130231423640.jpg"><br/>3、添加角色服务<br/><IMG src="attachment/2009-11/20091130231424198.jpg"><br/>如果你的程序在IIS7下出错，记得选择服务的时候添加IIS6兼容模块，如果无问题，这个可以不用选择；<br/><IMG src="attachment/2009-11/20091130231424719.jpg"><br/>4、打开“处理程序映射”<br/>选择“添加模块映射”，添加你PHP目录中的php-cgi；<br/><IMG src="attachment/2009-11/20091130231425579.jpg"><br/>5、选择fastcgi配置（注意，这里如果是IIS7，则需要手动安装Administration Pack for IIS 7.0 ，如果是IIS7.5，则无需下载，IIS7.5已经集成此功能）；<br/>点击“Edit.。.”，则弹出如下图：<br/><IMG src="attachment/2009-11/20091130231426893.jpg"><br/>添加：PHP_FCGI_MAX_REQUESTS ， value 数值10000；</P><br/><IMG src="attachment/2009-11/20091130231427782.jpg"><br/>进入你PHP的存放目录，复制一份php.ini-disk，改名为php.ini;<br/><IMG src="attachment/2009-11/20091130231428250.jpg"></P><br/>fastcgi.impersonate = 1<br/>cgi.fix_pathinfo=1<br/>cgi.force_redirect = 0<br/>以上3个前的；去掉，并修改以上相应数值，如下图所示：<br/>这样就可以完整的运行PHP了，可以用<br/><div class="code"><br/>&lt;?php phpinfo();?&gt;<br/></div><br/>测试是否正常；<br/>以上PHP的配置，只是配置以fastcgi模式运行php，其他详细PHP.INI的配置跟原来IIS6中isapi的一样，可以照搬，网上教程一大把，我就不废话了。<br/>Tags - <a href="http://www.zhanghaijun.com/tags/windows2008/" rel="tag">windows2008</a> , <a href="http://www.zhanghaijun.com/tags/fastcgi/" rel="tag">fastcgi</a> , <a href="http://www.zhanghaijun.com/tags/php/" rel="tag">php</a> , <a href="http://www.zhanghaijun.com/tags/iis7/" rel="tag">iis7</a>
]]>
</description>
</item><item>
<link>http://www.zhanghaijun.com/post//#blogcomment</link>
<title><![CDATA[[评论] windows2008中IIS7安装图文+fastcgi模式PHP配置教程 ]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.zhanghaijun.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>