Error: Call to undefined function: 'session_id' in c:\users\ardaa\documents\visual studio 2015\Projects\Filemanager\Filemanager\filemanager\config\config.php on line 3, column 5.
问问题
161 次
2 回答
0
于 2020-03-06T11:56:55.117 回答
0
Phalanger 需要知道包含所有基本功能(如session_id
、session_start
、print_r
和所有其他功能)的程序集。为此,请按照https://github.com/DEVSENSE/Phalanger/blob/master/Documentation/HowTo/Phalanger%20manual%20installation.txt#L32中所示配置<classLibrary>
您的部分web.config
web.config
:
<phpNet>
<paths>
<set name="DynamicWrappers" value="{phalanger path}\Dynamic"/>
<set name="Libraries" value="{phalanger path}\Bin"/>
<set name="ExtManager" value="{phalanger path}\Bin"/>
<set name="ExtWrappers" value="{phalanger path}\Wrappers"/>
<set name="ExtTypeDefs" value="{phalanger path}\TypeDefs"/>
<set name="ExtNatives" value="{phalanger path}\Extensions"/>
</paths>
<classLibrary>
<!-- if you want to use .NET objects from mscorlib in PHP; it slows startup a little: --> <add assembly="mscorlib"/>
<!-- if you want to use .NET objects from System in PHP; it slows startup a little: --> <add assembly="System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
<add assembly="PhpNetClassLibrary, Version=2.2.0.0, Culture=neutral, PublicKeyToken=4af37afe3cde05fb" section="bcl"/>
<add assembly="PhpNetXmlDom, Version=2.2.0.0, Culture=neutral, PublicKeyToken=2771987119c16a03" section="dom"/>
<!--<add assembly="php_mysql.mng, Version=2.2.0.0, Culture=neutral, PublicKeyToken=4ef6ed87c53048a3" section="mysql" />-->
</classLibrary>
</phpNet>"
Phalanger的继任者叫做PeachPie
有了 PeachPie(Phalanger 的继任者),已经有一个社区项目Responsive File Manager 在 .NET Core 上运行。请考虑调查一下。
于 2020-03-08T22:45:51.737 回答