win7+IIS+php+mysql环境搭配
2013-03-04 14:03:43 来源:WEB开发网核心提示:更改站点应用程序池,并添加默认文档index.php:php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414424271.png" he
更改站点应用程序池,并添加默认文档index.php:
php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414424271.png" height="182" width="366" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
extension=php_gd2.dll
extension=php_mcrypt.dll
extension=php_mysql.dll
extension=php_pdo_mysql.dll
extension=php_mysqli.dll
extension=php_mcrypt.dll
extension=php_mysql.dll
extension=php_pdo_mysql.dll
extension=php_mysqli.dll
去掉这些前面的;号
php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414424503.png" height="579" width="334" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
修改extension_dir目录:
这里是指向到你PHP目录下的ext文件夹,全路径
php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414425249.png" height="235" width="419" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
以上修改完后把PHP文件夹下面的libmysql.dll复制到Windows下面的System32目录(这个很关键)
在默认目录新建一个index.php
php环境(windows7+IIS7+php+mysql) - WebQI - 榕树空间" src="http://tech.cncms.com/tech/UploadPic/2013-3/20133414425400.png" height="192" width="410" border="0" onload="return imgzoom(this,550);" style="cursor:pointer;" onclick="javascript:window.open(this.src);"/>
输入http://127.0.0.1:8080/ 校验是否成功安装php :
更多精彩
赞助商链接