Develope a Windows PHP Extension.
| From: | Brian 'Bex' Huff | Date: | Fri, 07 Mar 2003 15:50:34 +0000 |
| Subject: | Develope a Windows PHP Extension. | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-18898@lists.php.net to get a copy of this message | ||
-----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-----