Page 1 of 1

Running Phalanger on Linux

PostPosted: July 4th, 2014, 7:56 am
by ahutton

My use case is as follows:

a) On a Linux machine (Ubuntu), I want to run phalanger, b) I want to use phalanger to create a dll file that can be used on IIS in Windows.

I think (b) is covered here: viewtopic.php?f=3&t=1198&p=5644&hilit=dll+iis+compile#p5644

Great! But how to run phalanger on my linux machine? I saw this link: , but the instructions didn't seem to be complete. Where do I get phalanger from prior to running that script?

Is there another way to install phalanger on linux.... ?

I take it I am meant to run phalanger with mono. The "Phalanger (setup).zip" file contains a Phalanger.msi and a few exe files... it doesn't appear to contain the Phalanger binary that I'd want to run with mono.

Looking at the Phalanger repo on github I can't seem to find the answer.

Hopefully someone on here can point me in the right direction.


Re: Running Phalanger on Linux

PostPosted: July 5th, 2014, 5:24 am
by lesmocasanova
You can get the Phalanger binaries here (the link that says "Phalanger Binaries" is the one you need):

It contains the DLLs I believe you're referring to.

Re: Running Phalanger on Linux

PostPosted: July 6th, 2014, 5:34 am
by ahutton
Hi lesmocasanova,

Thanks for the reply! Thank you, that was the file I needed.

Now I can say:
Code: Select all
$ mono phpc.exe

And it appears to be working fine in Ubuntu. I successfully compiled a hello world file.