win2008 IIS7 安装PHPMYAdmin的方法

发布时间:2022-04-24 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了win2008 IIS7 安装PHPMYAdmin的方法脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
软件版本:
php-5.3.2-nts-Win32-VC9-x86
phpMyAdmin-3.3.1-all-languages
MySQL-essential-5.1.45-win32
在IIS7安装php的过程可參考
http://www.php.net/manual/en/install.windows.iis7.php
安装phpMyAdmin 之后怎么都連不上mySQL数据庫.
改了几个地方,可以运行了.
1. 改phpmyadmin的配置文件 把里面的localhost改成ip
$CFg['Servers'][$i]['host'] = '127.0.0.1';
2. 因为裝在c:\PRogram files\php路径,IIS7里面的hanlder mapping的PHP_via_FastCGI的exe路径好像有问题,重新选了一次.

Enabling FastCGI support in IIS

FastCGI module is disabled in default installation of IIS. The steps to enable IT differ based on the version of Windows being used.

To enable FastCGI support on Windows Vista SP1 and Windows 7:

  1. In the Windows Start Menu choose "Run:", tyPE "optionalfeatures.exe" and click "Ok";

  2. In the "Windows Features" diaLOG expand "internet Information Services", "World Wide Web Services", "Application Development Features" and then enable the "CGI" checkbox;

  3. Click OK and wait until the installation is complete.

Enabling FastCGI support for IIS7 on Windows Vista SP1 and Windows 7

To enable FastCGI support on Windows Server 2008 and Windows Server 2008 R2:

  1. In the Windows Start Menu choose "Run:", type "CompMgmtlauncher" and click "Ok";

  2. If the "Web Server (IIS)" role is not present under the "Roles" node, then add it by clicking "Add Roles";

  3. If the "Web Server (IIS)" role is present, then click "Add Role Services" and then enable the "CGI" checkbox under "Application Development" group;

  4. Click "Next" and then "Install" and wait for the installation to complete.

Enabling FastCGI support on Windows Server 2008 and Windows Server 2008 R2

更详细的可以参考:http://www.php.net/manual/en/install.windows.iis7.php

脚本宝典总结

以上是脚本宝典为你收集整理的win2008 IIS7 安装PHPMYAdmin的方法全部内容,希望文章能够帮你解决win2008 IIS7 安装PHPMYAdmin的方法所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签:IIS7