Page 1 of 1

PHP extension in PHP

PostPosted: February 2nd, 2012, 2:49 pm
by Jakub Misek
Writing extensions for Phalanger is much easier than for PHP. You can use any .NET language, INCLUDING PHP ITSELF!

This sample contains two projects:
- \myex: Phalanger Class Library (PHP extension).
- \www: Web using myex extension.

You can open included myex.sln to open/compile/run both projects in Visual Studio (requires Phalanger Tools installed);
or run /myex/build.cmd to create /www/bin/myex.dll and configure /www as a web application.

Re: PHP extension in PHP

PostPosted: March 17th, 2014, 3:26 am
by bkrajendra
Is it possible to use extension created with Phalanger in xampp (appache) by using at as normal php extension. I dont want to use IIS.

Re: PHP extension in PHP

PostPosted: March 17th, 2014, 3:42 pm
by Jakub Misek
Hi, I don't think so. Phalanger creates .NET assemblies, which depend on Phalanger runtime.

With PHP, you have to stuck with writing extensions in C language.