服务器 
首页 > 服务器 > 浏览文章

win2008 IIS7 安装PHPMYAdmin的方法

(编辑:jimmy 日期: 2024/11/14 浏览:3 次 )
软件版本:
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.

win2008 IIS7 安装PHPMYAdmin的方法

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.

win2008 IIS7 安装PHPMYAdmin的方法

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

上一篇:用rsync对网站进行镜像备份步骤
下一篇:IIS .7z文件支持下载的添加方法
一句话新闻
高通与谷歌联手!首款骁龙PC优化Chrome浏览器发布
高通和谷歌日前宣布,推出首次面向搭载骁龙的Windows PC的优化版Chrome浏览器。
在对骁龙X Elite参考设计的初步测试中,全新的Chrome浏览器在Speedometer 2.1基准测试中实现了显著的性能提升。
预计在2024年年中之前,搭载骁龙X Elite计算平台的PC将面世。该浏览器的提前问世,有助于骁龙PC问世就获得满血表现。
谷歌高级副总裁Hiroshi Lockheimer表示,此次与高通的合作将有助于确保Chrome用户在当前ARM兼容的PC上获得最佳的浏览体验。