IIS php网站 无法在<fastCGI>应用程序配置中找到<handler> scriptProcessor

IIS php网站 无法在<fastCGI>应用程序配置中找到<handler> scriptProcessor
IIS php网站 无法在<fastCGI>应用程序配置中找到<handler> scriptProcessor
IIS php网站 无法在<fastCGI>应用程序配置中找到<handler> scriptProcessor
IIS php网站 无法在<fastCGI>应用程序配置中找到<handler> scriptProcessor

打开后会发现,根目录里面会自动生成的多出来的这个文件【web.config】直接删除掉,然后再去刷新一下你的页面就可以正常显示了

<? xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<validation validateIntegratedModeConfiguration"false"/>
<!--start-php-->
<handlers>
<remove name"php_5.2"/>
<remove name="php_5.3"/>
<remove name="php_5.4”/>
<remove name= "php_5.5”/>
<renove name="php_5.6 ”/>
<remove name="php_7.0"/>
<remove name=""php_7.1" />
<add name="php" path="*.php" verb="*" modules="FastCgiModule" scriptProcessor="路径" resourceType="Unspecified" />
<remove name="PageHandlerFactory-ISAPI-2.0-64"/>
<remove name="PageHandlerFactory-ISAPI-2.0" />
<remove name-"SimpleHandlerFactory-ISAPI-2.0-64"/>
<remove nameSimpleHandlerFactory-ISAPI-2.0"/>
<remove name"ASPC1assic"/>
</handlers>
<!--end-php-->
<!--start-rewrite-->
<rewrite>
<rulee>
</rules>
</rewrite>
<!--end-rewrite-->
</system.webServer>
</configuration>

改你的路径。

文章来源:https://www.cnaaa.net,转载请注明出处:https://www.cnaaa.net/archives/7873

(0)
郭靖的头像郭靖
上一篇 2023年4月4日 下午5:01
下一篇 2023年4月6日 下午4:27

相关推荐

  • Discuz! X 3.4, 更新PHP7.4后无法打开uc_server的解决方案!

    页面报错:Deprecated: Array and string offset access syntax with curly braces is deprecated in/www/wwwroot/***/uc_server/admin.php on line53 出现报错原因: PHP7.4不再支持使用大括号访问数组以及字符串的偏移 将53行修改为:

    2023年7月31日
    10.2K00
  • 宝塔 shell 命令 自动重启nginx

    宝塔搭建网站,nginx总是意外宕机,可以通过宝塔计划任务定时重启服务 直接在计划任务里添下,Shell脚本如上图 代码如下 /etc/init.d/nginx restart 时间自己设定就可以 附上重启其它服务的命令 重启Mysql /etc/init.d/mysqld restart 重启PHP (根据安装PHP版本号做更改,例如:/etc/init.…

    2023年6月25日
    2.2K00
  • Zabbix 首页提示PHP A session had already been started – ignoring session_start()

    zabbix打开首页报错,如下图 说时迟,那时快。 我赶紧百度了一下error ★ A session had already been started – ignoring session_start() 如果这后面没有任何文件,你需要这样去解决 如果出现 ★ A session had already been start…

    2023年4月28日
    1.7K00
  • Nginx配置及命令详解

    Nginx命令行 nginx -s 对应参数 信号 含义 stop TERM 强制关闭整个服务 null INT 强制关闭整个服务 quit QUIT 优雅地关闭整个服务 reopen USR1 重新打开日志记录 reload HUP 重新读取配置文件,并且优雅地退出老的worker nginx.conf重要的指令块 核心功能都在于http{}指令块里,ht…

    2022年6月17日
    2.0K00
  • nginx安全:配置allow/deny控制ip访问

    一,nginx中allow/deny指令的用途 1, Nginx的deny和allow指令是由ngx_http_access_module模块提供, Nginx安装默认内置了该模块 2, nginx访问控制模块: 想禁止哪个ip访问就加上deny IP, 想允许哪个ip访问就加上allow IP, 想禁止或者允许所有,则allow all或者deny all…

    2023年3月1日
    1.7K00

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

在线咨询: QQ交谈

邮件:712342017@qq.com

工作时间:周一至周五,8:30-17:30,节假日休息

关注微信