﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>IT博客-Shiding2008-文章分类-网络知识</title><link>http://www.cnitblog.com/shiding2008/category/861.html</link><description>把握今天,把握每一个机会!</description><language>zh-cn</language><lastBuildDate>Mon, 26 Sep 2011 19:12:38 GMT</lastBuildDate><pubDate>Mon, 26 Sep 2011 19:12:38 GMT</pubDate><ttl>60</ttl><item><title>IIS服务器完全配置</title><link>http://www.cnitblog.com/shiding2008/articles/2842.html</link><dc:creator>漂泊深圳</dc:creator><author>漂泊深圳</author><pubDate>Fri, 23 Sep 2005 00:53:00 GMT</pubDate><guid>http://www.cnitblog.com/shiding2008/articles/2842.html</guid><wfw:comment>http://www.cnitblog.com/shiding2008/comments/2842.html</wfw:comment><comments>http://www.cnitblog.com/shiding2008/articles/2842.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cnitblog.com/shiding2008/comments/commentRss/2842.html</wfw:commentRss><trackback:ping>http://www.cnitblog.com/shiding2008/services/trackbacks/2842.html</trackback:ping><description><![CDATA[现在我们要使IIS实现ASP,CGI,PERL和PHP+MYSQL&nbsp; 
<P></P>
<P>所需软件(都要是For&nbsp;Windows的)：&nbsp;<BR>ActivePerl、PHP、MYSQL&nbsp;<BR>ActivePerl下载：&nbsp;<BR><IMG src="http://bbs.cfanclub.net/pic/url.gif" align=absMiddle border=0><A href="http://www8.pconline.com.cn/download/swdetail.phtml?id=1490" target=_blank><FONT color=#000000>http://www8.pconline.com.cn/download/swdetail.phtml?id=1490</FONT></A></P>
<P>PHP下载：&nbsp;<BR><IMG src="http://bbs.cfanclub.net/pic/url.gif" align=absMiddle border=0><A href="http://www8.pconline.com.cn/download/swdetail.phtml?id=645" target=_blank><FONT color=#000000>http://www8.pconline.com.cn/download/swdetail.phtml?id=645</FONT></A></P>
<P>MYSQL下载:&nbsp;<BR><IMG src="http://bbs.cfanclub.net/pic/url.gif" align=absMiddle border=0><A href="http://www8.pconline.com.cn/download/swdetail.phtml?id=1128" target=_blank><FONT color=#000000>http://www8.pconline.com.cn/download/swdetail.phtml?id=1128</FONT></A></P>
<P>-----------------------------------------------<BR>一.ASP支持：&nbsp;</P>
<P>IIS自带的功能，什么都不用做，本身就支持ASP运行。&nbsp;</P>
<P>二.CGI,PERL支持:&nbsp;</P>
<P>1.安装ActivePerl&nbsp;<BR>运行下载的ActivePerl一步一步安装(注意:安装路径请选<BR>择到根目录的/usr/下(默认是perl),这样对以后调试程序省很多事)&nbsp;</P>
<P>2.配置IIS&nbsp;<BR>打开"Internet&nbsp;信息服务"(在'管理工具'里),点开默认站点的属性,如图:</P>
<P><A onfocus=this.blur() href="http://www.whcsd.com/down/1276-1.gif" target=_blank><IMG alt="" src="http://www.whcsd.com/down/1276-1.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0 dypop="按此在新窗口浏览图片"></A><BR>&nbsp;</P>
<P><BR>选择&nbsp;"主目录"&nbsp;选项卡，然后点&nbsp;"配置(G)...",弹出如图对话框：&nbsp;<BR><A onfocus=this.blur() href="http://www.whcsd.com/down/1276-2.gif" target=_blank><IMG alt=按此在新窗口浏览图片 src="http://www.whcsd.com/down/1276-2.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0></A></P>
<P>&nbsp;</P>
<P><BR>然后&nbsp;"添加(D)"&nbsp;如下图：&nbsp;</P>
<P><A onfocus=this.blur() href="http://www.whcsd.com/down/1276-3.gif" target=_blank><IMG alt=按此在新窗口浏览图片 src="http://www.whcsd.com/down/1276-3.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0></A><BR>&nbsp;</P>
<P><BR>推荐"c:\usr\bin\perl.exe"&nbsp;记得一定要在后面加上"&nbsp;%s&nbsp;%s&nbsp;"&nbsp;，不然没法执行cgi的，确定后。用同样的方法添加扩展?br&nbsp;/&gt;&nbsp;?pl，如图：&nbsp;</P>
<P><A onfocus=this.blur() href="http://www.whcsd.com/down/1276-4.gif" target=_blank><IMG alt=按此在新窗口浏览图片 src="http://www.whcsd.com/down/1276-4.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0></A><BR>&nbsp;</P>
<P><BR>完成后如图：&nbsp;</P>
<P><A onfocus=this.blur() href="http://www.whcsd.com/down/1276-5.gif" target=_blank><IMG alt=按此在新窗口浏览图片 src="http://www.whcsd.com/down/1276-5.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0></A><BR>&nbsp;</P>
<P><BR>三.PHP、MYSQL支持：&nbsp;&nbsp;</P>
<P><BR>1.安装PHP和MYSQL&nbsp;<BR>运行下载的PHP和MYSQL一步一步安装就行了（装到哪里都<BR>行,一般现在网上流行的都是安装过的PHP,没有安装程序?<BR>:\php下）&nbsp;</P>
<P>2.PHP支持：&nbsp;</P>
<P>2.1&nbsp;拷贝php目录下dlls文件夹里所有文件到c:\windows\syst<BR>em32下&nbsp;</P>
<P>2.2配置IIS：和刚才配置cgi一样，添加.php&nbsp;如下图：&nbsp;</P>
<P><BR>&nbsp;<A onfocus=this.blur() href="http://www.whcsd.com/down/1276-6.gif" target=_blank><IMG alt=按此在新窗口浏览图片 src="http://www.whcsd.com/down/1276-6.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0></A></P>
<P><BR>完成后如下图：&nbsp;</P>
<P><A onfocus=this.blur() href="http://www.whcsd.com/down/1276-7.gif" target=_blank><IMG alt=按此在新窗口浏览图片 src="http://www.whcsd.com/down/1276-7.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0></A><BR>&nbsp;</P>
<P><BR>最后把这里的&nbsp;"执行权限"&nbsp;该成："脚本和可执行文件"&nbsp;然后确定ok!&nbsp;<BR>如图:</P>
<P><BR>&nbsp;<A onfocus=this.blur() href="http://www.whcsd.com/down/1276-8.gif" target=_blank><IMG alt="" src="http://www.whcsd.com/down/1276-8.gif" onload="javascript:if(this.width>screen.width-333)this.width=screen.width-333" border=0 dypop="按此在新窗口浏览图片"></A></P>
<P><BR>现在你的IIS已经完全支持PHP+MYSQL了&nbsp;</P>
<P>注：MYSQL不许任何设置，直接安装即</P><img src ="http://www.cnitblog.com/shiding2008/aggbug/2842.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnitblog.com/shiding2008/" target="_blank">漂泊深圳</a> 2005-09-23 08:53 <a href="http://www.cnitblog.com/shiding2008/articles/2842.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>