Re: Develope a Windows PHP Extension.
| From: | Frank M. Kromann | Date: | Fri, 07 Mar 2003 23:56:30 +0000 |
| Subject: | Re: Develope a Windows PHP Extension. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18911@lists.php.net to get a copy of this message | ||
Downloading and installing bison and flex is one thing, but if you have
CygWin and Visual Studio installed I have a breif instruction on my web
site (http://kromann.info/php4.php).
The CVS version of PHP also includes a small wrapper script for ext skel.
This will allow you to create a new extension and build it with Visual
Studio.
- Frank
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> The FIRST thing to do is make sure that you can compile PHP from scratch
on Windows:
>
>
> http://www.php.net/manual/en/install.windows.php#install.windows.build
>
> The info on how to write your own extension to PHP is also online:
>
> http://www.php.net/manual/en/zend.php
>
> Basicly, making one on Windows is exactly the same as on Linux... except
for the
> fact that you do compiling with Visual STudio, and all the command-line
tools
> will have to be executed in Cygwin.
>
> when installing 'Cygwin', you must specificly download the developer
apps
> 'flex', 'bison', 'automake', and 'autoconf'. Otherwise,
> after you set up
Visual
> C++, it will complain about them not being available.
>
> I always meant to write up a step-by-step doc on this... but I never
found the
> time ;)
>
> - --
>
> Brian 'Bex' Huff <bex@stellent.com>
> PGP Key:
> http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5A06A150
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQE+aL/KmexGJFoGoVARAtT8AKCuRZvadCMScV2epjNvqDkHLFwFpwCggfpA
> jnM9mA+5yE7JEO3LTrEMrlo=
> =lzGg
> -----END PGP SIGNATURE-----
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>