Re: How to compile my own PHP extension in Windows?
| From: | Frank M. Kromann | Date: | Thu, 15 Nov 2001 19:01:55 +0000 |
| Subject: | Re: How to compile my own PHP extension in Windows? | ||
| Groups: | php.dev php.general php.windows | ||
| Request: | Send a blank email to php-dev+get-70587@lists.php.net to get a copy of this message | ||
It is almost as simple on Win32.
You need to have MS Visual C++ installed to do it. Have a look at some of the existing extensions,
all compiled as php_<ext>.dll.
if you take a look at one of the simple extensions eg. exif. It has three files used on Win32
exif.c, php_exif.h and exif.dsp. If yor extension is like this, just copy the dsp file, and replace
all references to exif to your extension name. Make sure to maitain the same case though.
- Frank
> Hi
>
> Does anyone know how to compile a php extension in windows.. in linux it
> is simple.. just to install php source and compile the extension. it
> doesn´t work in windows.
>
> Thanks in advanced.
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>