Hi there,

I am writing a free php extension and am wondering if I'll need to compile it for each operating system (FreeBSD, Sun, etc...). I have compiled a separate dll for windows.

Cheers

Hi there,

I am writing a free php extension and am wondering if I'll need to compile it for each operating system (FreeBSD, Sun, etc...). I have compiled a separate dll for windows.

Cheers

So far the extensions I have used have come in source form and they were compiled on install. But you should at least check if it compiles on any other platform than Windows and if it doesn't flag it as Windows only.

I'm a bit paranoid with php extensions and do not install anything in binary form if it doesn't come from reputable source. I recommend you to take a peek at pecl-site and take a look inside one of the extensions. Make yours like that and post it to the pecl.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.