Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
web.config导致iis出现问题_Iis_Web Config_Phalanger - Fatal编程技术网

web.config导致iis出现问题

web.config导致iis出现问题,iis,web-config,phalanger,Iis,Web Config,Phalanger,到目前为止,我只在Visual Studio中使用过这个web.config。但是,我现在正试图将我的网站发布到IIS,并且存在与我的web.config相关的错误。它似乎在模块的配置数据上崩溃 <?xml version="1.0"?> <configuration> <system.web> <compilation targetFramework="4.5" /> <httpRuntime target

到目前为止,我只在Visual Studio中使用过这个web.config。但是,我现在正试图将我的网站发布到IIS,并且存在与我的web.config相关的错误。它似乎在模块的配置数据上崩溃

<?xml version="1.0"?>

<configuration>
    <system.web>
      <compilation targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" />
    </system.web>
  <phpNet>
    <classLibrary>
      <add assembly="php_mcrypt.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="mcrypt" />
      <add assembly="php_curl.mng, Version=3.0.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="curl" />
    </classLibrary>
    <scriptLibrary/>
  </phpNet>

</configuration>

,应该安装扩展,但我不知道如何检查。正如我所说,这个web.config和phalanger在VisualStudio中运行良好,所以我不确定出了什么问题。特别是因为安装程序确实在iis中安装了示例。

我发现了这篇文章

这让我检查了应用程序池。

在这一点上,我注意到有倍数。我选择了Phalangerappool,这消除了我的错误,但带来了一个新的错误

处理程序“PageHandlerFactory Integrated”的模块不正确 模块列表中的“ManagedPipelineHandler”


但是,解决该错误要容易得多()

您缺少配置节定义

<configSections>
<section name="phpNet" type="PHP.Core.ConfigurationSectionHandler, PhpNetCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=0a8e8c4c76728c71" />

没有此选项,.NET就不知道“phpNet”配置部分


也就是说,您没有使用setup.exe安装Phalanger。以下是一些关于在没有正确安装的情况下使用Phalanger的信息(配置部分很重要)

我发布的答案如何?因为一旦我开始使用“Phalangerappool”,事情就成功了。我还将这些stations移到了.net/frameworks/v4/config目录中的master.config