Questions tagged [phalanger]

Phalanger is a managed PHP implementation for the Microsoft .NET platform.

Phalanger is managed PHP implementation (compiler and runtime) introducing the PHP language into the family of compiled .NET languages. Phalanger gives web-application developers the ability to benefit from both the ease-of-use and effectiveness of the PHP language and the power and richness of the .NET platform taking profit from the best from both sides.

There are zero commits in the last 23 months. This is likely because of a new implemation on .net core which is named peachpie

51 questions
0
votes
1 answer

compile php application that contain javascript with Phalanger

I want to compile a PHP application where I've used css files and javascript code. I've choosed to work with Phalanger but I can't find any tutorial that mention how to compile such aplication. So is it possible , or Phalanger just compile php files…
0
votes
1 answer

Cannot install Phalanger 4.0

I was already using Phalanger 3.0 via command line. I want to update version and also use in Visual Studio, now I'm trying to install version 4.0. I have VS Express 2013 for Desktop, However... Cannot choose any items... Isn't it suported with…
mpyw
  • 5,526
  • 4
  • 30
  • 36
0
votes
1 answer

Does anybody know how to display additional Intellisense in Phalanger?

I just installed Phalanger on VS 2008. Intellisense is working fine but I miss additional info about my own functions in Intellisense. Is there something like /** /* param value */ Ben
Ben
  • 1
  • 1
0
votes
0 answers

'Phalanger' is not a valid short file name

I want to integrate wordpress with .Net. For this i need to install Phalanger I have got following error while installing Phalanger " 'Phalanger' is not a valid short file name" I am stuck with this error.
user3418805
  • 91
  • 1
  • 1
  • 6
0
votes
1 answer

How do you get pthreads to compile with Phalanger?

So i have pthreads working with PHP on windows, but how can i compile and run my pthreads implementations with phalanger 3.0? At the moment, it builds with 0 errors / 0 warnings, but then when i run it it says CompileError: The class 'ThreadTest'…
nevernew
  • 650
  • 10
  • 23
0
votes
1 answer

Phalanger PhpObject always null

I want to use methods defined in PHP from C#. I used Phalanger to create a .dll from my PHP file (using pure mode) and added it as a reference in my project. I can successfully call the dll, but the PhPObject I attempt to create is null, so I…
IrkenInvader
  • 4,030
  • 1
  • 12
  • 23
0
votes
1 answer

Phalanger error in Visual Studio

I have installed Phalanger from http://phalanger.codeplex.com/ and installed Phalanger Tools from the built-in market-place function in my Visual Studio 2012 Ultimate distribution. After doing this, every time I boot start Visual Studio I get a…
fredefox
  • 3
  • 3
0
votes
1 answer

how to connect to mysql database using Phalanger on visual studios?

i installed Phalanger 3.0 on visual studios, the php is working fine but how to create database and connect to database ? where to put config & Web.Config file ?
Sarthak
  • 3
  • 2
0
votes
2 answers

web.config causing problems with iis

Up until now I have only worked with this web.config within Visual Studio. However I am now trying to publish my website to IIS and there are errors associated with my web.config. It seems that it crashes on configuration data for a module.
owen gerig
  • 6,165
  • 6
  • 52
  • 91
0
votes
2 answers

Using mcrypt with phalanger

How to use a php extension like mcrypt? My first thought was to find mcrypt.php and simply include it (context.Include("mcrypt.php", false);), but of course that doesn't exist since it is written in C. I was reading over Writing compiled PHP…
owen gerig
  • 6,165
  • 6
  • 52
  • 91
0
votes
1 answer

Phalanger cant find my php classes

After this question I found a good (up to date) example to follow here. I successfully got PHP.Core libraries working in VS but still having problems finding my php classes. The tutorial is simple enough however dynamic phpObj =…
owen gerig
  • 6,165
  • 6
  • 52
  • 91
0
votes
1 answer

I have this error "Notice: Use of undefined constant test - assumed 'test'."

Notice: Use of undefined constant test - assumed 'test'. I am not sure where this error came from. I am using the Widget Logic Plugin and is fully updated, but I can't seem to find where this issue is. Has anyone had this issue and know how to…
xivo
  • 2,054
  • 3
  • 22
  • 37
0
votes
1 answer

Phalanger; not all .Net libraries available?

I am having trouble getting access to certain .NET libraries. Phalanger promises the ability to tap into all the .NET libraries; however I can't seem to access many. For instance, I cannot do: $table = new System\Data\DataTable; which is a standard…
Serguei Fedorov
  • 7,763
  • 9
  • 63
  • 94
0
votes
1 answer

Phalanger c# DLL assembly imported but cannot be called

I am having a problem where I cannot get the c# code to show up or even be usable while using Phalanger. By their definition, all I have to do is add which happens succesfully because if I change the name slightly, the…
Serguei Fedorov
  • 7,763
  • 9
  • 63
  • 94
0
votes
1 answer

import .net DLLS into phalanger?

How would I go about importing a .net library that was written before hand into a PHP project in Phalanger? I can't seem to find any documentation about how to actually use existing, non-.Net libraries with Phalanger. Any help is greatly…
Serguei Fedorov
  • 7,763
  • 9
  • 63
  • 94