Running Phalanger on Linux

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

Running Phalanger on Linux

Postby ahutton » July 4th, 2014, 7:56 am

Hello,

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: http://wiki.php-compiler.net/Installation/3.0/Linux , 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 3.0.0.4072 (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.

Thanks
ahutton
 
Posts: 3
Joined: July 4th, 2014, 7:45 am

Re: Running Phalanger on Linux

Postby lesmocasanova » July 5th, 2014, 5:24 am

You can get the Phalanger binaries here (the link that says "Phalanger Binaries" is the one you need): http://phalanger.codeplex.com/releases/view/103021

It contains the DLLs I believe you're referring to.
User avatar
lesmocasanova
 
Posts: 11
Joined: October 16th, 2013, 8:26 pm
Location: Mexico

Re: Running Phalanger on Linux

Postby ahutton » July 6th, 2014, 5:34 am

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.
ahutton
 
Posts: 3
Joined: July 4th, 2014, 7:45 am


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 13 guests

cron

User Control Panel

Login

Who is online

In total there are 13 users online :: 0 registered, 0 hidden and 13 guests (based on users active over the past 5 minutes)
Most users ever online was 256 on March 28th, 2024, 9:42 am

Users browsing this forum: No registered users and 13 guests