I tested a clean git clone, compiled in Debug and Release mode, tested in Windows and Mono/Linux and the problem is always the same:
Library assembly 'PhpNet.ClassLibrary' could not be loaded. The dynamic wrapper for the library, file 'PhpNet.ClassLibrary.dynamic.dll', is invalid. Delete the wrapper file so that it could be regenerated automatically during the next request.
To test:
1) Create a test.php file inside Deployment\Debug or Deployment\Release folder with content:
@kripper Phalanger's development is mostly discontinued in favor of PeachPie, the more modern compiler and runtime that also targets .NET Core. Please feel free to give that a try.
I tested a clean git clone, compiled in Debug and Release mode, tested in Windows and Mono/Linux and the problem is always the same:
To test:
1) Create a test.php file inside Deployment\Debug or Deployment\Release folder with content:
2) Create a web.config file with content:
3) Compile with command:
phpc /config:web.config test.php