Skip to content
/ cURL Public
forked from winlibs/cURL

The multiprotocol file transfer library

License

Notifications You must be signed in to change notification settings

anomous/cURL

 
 

Repository files navigation

libcURL - the multiprotocol file transfer library

Project URL: http://curl.haxx.se/libcurl/

Building for PHP

Available prebuilt libraries

All prebuilt libraries are available as part of the PHP SDK

Requirements

  • CURL sources, patched, available in here

  • OpenSSL binaries and development files

  • Libssh2 binaries and development files

  • Zlib binaries and development files

  • Create a clean build tree without the classic php dependencies in ....\deps but only the required deps (ssl and zlib). Having curl headers in your include path is likely to break the build

Configuration

See https://github.com/pierrejoye/curl/blob/master/winbuild/BUILD.WINDOWS.txt

Release build command lines:

PHP 5.3/5.4 x86 only

nmake /f Makefile.vc mode=static VC=9 WITH_DEVEL=D:\repo\curl_deps WITH_SSL=dll WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=no GEN_PDB=yes DEBUG=no MACHINE=x86

PHP 5.5 x86

nmake /f Makefile.vc mode=static VC=11 WITH_DEVEL=D:\repo\curl_deps.x86 WITH_SSL=dll WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x86

PHP 5.5 x64

nmake /f Makefile.vc mode=static VC=11 WITH_DEVEL=D:\repo\curl_deps.x64 WITH_SSL=dll WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x64

NOTE Builds with USE_IDN=yes will require Microsoft IDN Mitigation APIs on Windows XP. These APIs are available by default starting with Windows Vista.

About

The multiprotocol file transfer library

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 57.4%
  • Makefile 21.3%
  • M4 6.2%
  • Perl 4.9%
  • Shell 4.8%
  • DIGITAL Command Language 2.7%
  • Other 2.7%