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

相关推荐

  • asp网站IIS中无法打开,404.3错误

    asp网站导入IIs后,报404.3错误 排查配置项是否有错误时发现,处理程序映射,缺少脚本映射 点击恢复为父项,使用IIS之前配置好的映射程序 网站成功打开

    2023年3月20日
    1.3K00
  • 解决Composer Installing dependencies from lock file

    1、问题描述 2、原因 这是因为不匹配composer.json要求的版本。提示我的PHP 7版本太高,不符合composer.json需要的版本,但是在PHP 7下应该也是可以运行的,composer可以设置忽略版本匹配。 3、解决方案 composer install –ignore-platform-reqs 或者 composer update -…

    2023年2月14日
    2.0K00
  • Tomcat日志切割工具 logrotate

    Tomcat日志切割工具 logrotate 在我们生产环境中经常遇到tomcat log清理的问题,曾经做过实验通过重定向的方式把日志清空,但是发现日志tomcat里面的catalina.out不输出日志了。这时候我们可以考虑一下日志管理工具Logrotate 一、日志工具Logrotate简介 二、Logrotate运行机制 系统会定时运行logrota…

    2023年3月24日
    1.4K00
  • 宝塔 shell 命令 自动重启nginx

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

    2023年6月25日
    2.2K00
  • SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server.

    由于系统Microsoft ODBC Driver for SQL Server 驱动没有安装造成PHP无法链接sql server数据库 在https://learn.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16下…

    2023年4月6日
    1.9K00

发表回复

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

在线咨询: QQ交谈

邮件:712342017@qq.com

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

关注微信