Re: Compiling CURL staticaly into PHP on Windows
| From: | Jan Ehrhardt | Date: | Tue, 22 Oct 2013 07:28:37 +0000 |
| Subject: | Re: Compiling CURL staticaly into PHP on Windows | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-11253@lists.php.net to get a copy of this message | ||
Johannes Schlüter in php.pecl.dev (Mon, 21 Oct 2013 16:00:50 +0200):
>On Mon, 2013-10-21 at 14:28 +0200, Kevin Ingwersen wrote:
>> Is there anything I could do? I thought about editing config.w32 - but I had
>> my doubts on that one.
>
>Why doubts? That file defines what s possible.
>
>In there one can read
>EXTENSION("curl", "interface.c multi.c share.c curl_file.c", true);
>which forces a shared build. This comes from this commit:
>https://github.com/php/php-src/commit/deb0695069ef72d7a0936fdabaa7c9fea02f7fcd
Intriguing question by Kevin. I once made a curl.exe without any need
for external DLL's, not even libeay32.dll and the like. Only the
standard Windows dll's and the VC++ redistributables are needed.
Kevin, try this one:
https://dl.dropboxusercontent.com/u/8954372/php555static.zip
Jan