Exander
Exander

Reputation: 892

Is there any way to use DLLs in PHP under Linux?

As far as I know, it's only possible under Windows. But maybe, just maybe, there is some perverse way to achieve this under Linux..?

Upvotes: 2

Views: 3019

Answers (3)

Hassan Syed
Hassan Syed

Reputation: 20485

If its web related just host it on a different box and call the DLL via a service layer.

Upvotes: 0

Gordon
Gordon

Reputation: 316999

You could run the Windows PHP through Wine.

Any specific reason for wanting to do this?

Upvotes: 1

Ben Everard
Ben Everard

Reputation: 13804

I doubt it, take a look at this SO question.

I mean nothings impossible, you could wrap it with mono, or emulate it with WINE, but to be honest it's probably going to be an ugly solution however you spin it.

Upvotes: 3

Related Questions