WEB开发网
开发学院服务器WEB服务器IIS win7+IIS+php+mysql环境搭配 阅读

win7+IIS+php+mysql环境搭配

 2013-03-04 14:03:43 来源:WEB开发网   
核心提示: 1. 安装IIS v7.0控制面板-程序和功能-打开或关闭Windows 功能php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414423502

 1.    安装IIS v7.0

控制面板-程序和功能-打开或关闭Windows 功能
windows 7 下快速搭建<a target=php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414423502.png" height="532" width="419" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
测试是否成功安装IIS v7.0,在浏览器输入:http://localhost/ 或者http://127.0.0.1/
windows 7 下快速搭建<a target=php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414423710.png" height="297" width="328" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
出现如上界面说明成功安装IIS v7.0
新建站点:(默认的站点用作asp/asp.net/,启动8080端口,即访问使用http://localhost:8080/
 
2.    配置PHP环境
文件下载路径:http://download.csdn.net/detail/mastermanager/5107080
采用 php v5.2.5。下载php v5.2.5之后解压到G:\php
在IIS中如下操作:
添加ISAPI筛选器:
windows 7 下快速搭建<a target=php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414423902.png" height="300" width="459" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
添加脚本映射:
windows 7 下快速搭建<a target=php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414424258.png" height="430" width="471" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
添加应用程序池:
windows 7 下快速搭建<a target=php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414424938.png" height="318" width="316" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>

1 2 3 4  下一页

Tags:win IIS php

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接