Building an extension on windows
am 30.06.2009 16:38:52 von pkaluski
Hi,
I'm told to build an PHP extension on windows to be used with PHP 5.2.9.
What do I need for this purpose? Is there anywhere a manual telling me
what to do for this purpose?
I'm using Visual Studio 2008.
Must I get the source files from PHP 5.2.9 to do this? Do I need to
build PHP my self to get the lib files needed for linking, or where do I
get them from?
If I must build PHP my self, where can I find instructions how to do that?
Best wishes, Georg
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: Building an extension on windows
am 30.06.2009 21:33:47 von Lester Caine
user@domain.invalid wrote:
> Hi,
>
> I'm told to build an PHP extension on windows to be used with PHP 5.2.9.
> What do I need for this purpose? Is there anywhere a manual telling me
> what to do for this purpose?
>
> I'm using Visual Studio 2008.
>
> Must I get the source files from PHP 5.2.9 to do this? Do I need to
> build PHP my self to get the lib files needed for linking, or where do I
> get them from?
>
> If I must build PHP my self, where can I find instructions how to do that?
http://wiki.firebirdsql.org/wiki/index.php?page=Compiling+PH P+on+Windows+so+we+can+use+with+Firebird
and it has links to source articles as well. 5.2.x is a little different
to the 5.3 build notes, but I've run both without too much trouble - on
the free VSExpress ;)
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
RE: Building an extension on windows
am 01.07.2009 02:49:54 von Louis Solomon
PiBNdXN0IEkgZ2V0IHRoZSBzb3VyY2UgZmlsZXMgZnJvbSBQSFAgNS4yLjkg dG8gZG8gdGhpcz8N
Cg0KU29tZSAobWFueSkgaGVhZGVycyAtIHllcw0KDQo+IERvIEkgbmVlZCB0 byBidWlsZCBQSFAg
bXkgc2VsZiB0byBnZXQgdGhlIGxpYiBmaWxlcyBuZWVkZWQgZm9yIGxpbm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