Using Windows DLL in PHP on Linux

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
webnoel
Forum Newbie
Posts: 1
Joined: Mon Nov 29, 2010 11:48 pm

Using Windows DLL in PHP on Linux

Post by webnoel »

Hi,

Is it possible to develop a DLL in C# and then use it in a PHP web application hosted on a Linux environment?

Would greatly appreciate if someone could point me in the right direction.

thanks in advance
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: Using Windows DLL in PHP on Linux

Post by requinix »

Directly? No.

I think your best bet would be to create an EXE that can run whatever routines you need from the DLL, then use Mono to run it under Linux.
Post Reply