Using Phlanger pre-compiled .dll in IIS
2 posts
• Page 1 of 1
Using Phlanger pre-compiled .dll in IIS
Hi,
We want to be able to use Phalanger to compile our PHP into a .NET format without any source code visible and be able to use it in IIS. The trick is we need the compiled version to work in IIS without having Phalanger installed on the host machine. Is this possible and if it is, the problem that we are running into as the "default document" the Phalanger creates when compiling a PHP project.
Thanks,
We want to be able to use Phalanger to compile our PHP into a .NET format without any source code visible and be able to use it in IIS. The trick is we need the compiled version to work in IIS without having Phalanger installed on the host machine. Is this possible and if it is, the problem that we are running into as the "default document" the Phalanger creates when compiling a PHP project.
Thanks,
- evbase
- Posts: 5
- Joined: January 13th, 2014, 10:48 pm
Re: Using Phlanger pre-compiled .dll in IIS
hi,
Phalanger compiles bunch of code into single DLL which you can deploy on IIS server.
Also if you copy Phalanger binaries into /Bin, you don't have to install it on the target server. You only have to add additional configuration that installer creates in %WinDir%\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config into your we.config.
Phalanger compiles bunch of code into single DLL which you can deploy on IIS server.
- Code: Select all
phpc.exe /target:web /root:. /recurse:. /out:Bin /static+ /debug- 2> build.log
Also if you copy Phalanger binaries into /Bin, you don't have to install it on the target server. You only have to add additional configuration that installer creates in %WinDir%\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config into your we.config.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 27 guests