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.sxszhian.com/archives/7873
来源:上海永驰网络科技有限公司
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
打赏
< <上一篇
下一篇>>