Building Php extensions with Cygwin

From: Bastien Continsouzas (coujou1688_at_free.fr)
Date: 03/30/04


Date: Tue, 30 Mar 2004 10:31:34 +0200

Has anybody managed to build a Php Extension (Loadable Module)
under Cygwin. I tried to build the example first_module found on
http://www.zend.com/zendapi. It compiles and works well under linux.

Under windows with Apache 2.0.48, I managed to compile it using
cygwin compiler but I have the following message :

Warning: dl(): Unable to load dynamic library
'c:\php\extensions\first_module.dll
(of course, the file is located in the good path)

I only found tutorials using Visual Studio so any experience
feedback about a similar problem would prove to be very usefull.

Bastien



Relevant Pages

  • Re: Cant compile this with Cygwin!
    ... > So I guess that is why it compiles and runs as it should on my Ubuntu ... But for some reason theses definitions are not in Cygwin. ... those identifiers are not available at all. ... different internals than a Linux jmp_buf (or at least the Cygwin ...
    (comp.lang.c)
  • Re: Calling External DLL functions in Perl using Inline
    ... >> and the code compiles and runs the same. ... > I think that script builds ok when you remove the LIBS directive because ... > be different under Cygwin. ... >> How do are you able to include your own header files? ...
    (comp.lang.perl.modules)
  • Building Php extensions with Cygwin
    ... Has anybody managed to build a Php Extension (Loadable Module) under ... It compiles and works well under linux. ... I managed to compile it using cygwin ...
    (comp.lang.php)
  • Building Php extensions with Cygwin
    ... Has anybody managed to build a Php Extension (Loadable Module) ... It compiles and works well under linux. ... it using cygwin compiler but I have the following message: ...
    (comp.lang.php)
  • Php Extensions with Cygwin
    ... Has anybody managed to build a Php Extension (Loadable Module) under ... It compiles and works well under linux. ... I managed to compile it using cygwin ...
    (comp.lang.php)