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 功能
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/
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
在IIS中如下操作:
添加ISAPI筛选器:
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);"/>
添加脚本映射:
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);"/>
添加应用程序池:
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);"/>
更多精彩
赞助商链接