dprlv04662 2013-11-08 03:01
浏览 556
已采纳

如何访问phpinfo.php?

I am trying to access

http://localhost/phpinfo.php

but I can't find a way to get there on the local machine I made the update on.

This is part of a FastCGI installation to Host PHP Applications on IIS 6.0.

I followed steps here: 'Test PHP CGI' in http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis-60

I copied phpinfo.php as indicated in the link above in the F:\Inetpub\wwwroot directory as indicated here http://msdn.microsoft.com/en-us/library/ms474356(v=office.12).ASPX then tried to access

http://localhost/phpinfo.php 

but I don't get anywhere (I get: 'The webpage cannot be found' error message).

Any help is appreciated. Thanks, Izumi.

  • 写回答

2条回答 默认 最新

  • duanjiao6735 2013-11-08 16:54
    关注

    I had to add the .php extension in the IIS Web Sites Properties as indicated here http://www.iis.net/learn/application-frameworks/install-and-configure-php-applications-on-iis/using-fastcgi-to-host-php-applications-on-iis-60 under 'MANUALLY CONFIGURE THE FASTCGI EXTENSION TO WORK WITH PHP'

    I am not sure why the script didn't do it for me. Maybe because I had two domain names on that server.

    Thanks for your help! Izumi.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿
  • ¥15 Arduino红外遥控代码有问题
  • ¥15 数值计算离散正交多项式
  • ¥30 数值计算均差系数编程
  • ¥15 redis-full-check比较 两个集群的数据出错
  • ¥15 Matlab编程问题
  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大