Using Phlanger pre-compiled .dll in IIS

Discussion about the open-source Phalanger [?] project.

Using Phlanger pre-compiled .dll in IIS

Postby evbase » January 14th, 2014, 5:21 pm

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,
evbase
 
Posts: 5
Joined: January 13th, 2014, 10:48 pm

Re: Using Phlanger pre-compiled .dll in IIS

Postby Jakub Misek » January 14th, 2014, 5:49 pm

hi,

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. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2081
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 2 guests

User Control Panel

Login

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 77 on September 4th, 2018, 9:46 pm

Users browsing this forum: No registered users and 2 guests
Phalanger