internals:windows:libs:libcurl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
internals:windows:libs:libcurl [2008/05/29 08:53] pajoyeinternals:windows:libs:libcurl [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 6: Line 6:
 ===== Available prebuilt libraries ===== ===== Available prebuilt libraries =====
  
-All prebuilt libraries are available in the php-libs [[http://pecl2.php.net/downloads/php-windows-builds/php-libs/|repositories]]+All prebuilt libraries are available as part of the [[http://windows.php.net/downloads/php-sdk/|PHP SDK]]
  
 ===== Requirements ===== ===== Requirements =====
  
-  * CURL sources+  * CURL sources, patched, available in  [[https://github.com/winlibs/cURL|here]]
   * OpenSSL binaries and development files   * OpenSSL binaries and development files
 +  * Libssh2 binaries and development files
   * Zlib 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 ===== ===== Configuration =====
  
 +See https://github.com/pierrejoye/curl/blob/master/winbuild/BUILD.WINDOWS.txt
  
 +Example release build command line:
  
- +  nmake /f Makefile.vc mode=static VC=9 WITH_DEVEL=D:\repo\curl_deps WITH_SSL=static WITH_ZLIB=static WITH_SSH2=static ENABLE_WINSSL=no USE_IDN=no GEN_PDB=yes DEBUG=no 
-===== Compilation ===== +   
- +Note that php is always using a dynamic openssl runtime. Even when using WITH_SSL=staticopenssl dlls are required.
-To build the library, go to the lib directory and call the makefile with the desired options: +
- +
-<code bash> +
-cd C:\phpbuilds\2k5\curl-7.18.1\lib +
-</code> +
- +
- +
-Example for a Visual C++ 2005 (VC8): +
- +
-Compilation x64, release +
-<code bash> +
-nmake /f Makefile.vc8 cfg=release-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\deps OPENSSL_PATH=c:\phpbuilds\2k5\apps MACHINE=x64 +
-</code> +
- +
-Compilation x86, release +
-<code bash> +
-nmake /f Makefile.vc8 cfg=release-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\deps OPENSSL_PATH=c:\phpbuilds\2k5\apps +
-</code> +
- +
-Compilation x86, Debug +
-<code bash> +
-nmake /f Makefile.vc8 cfg=debug-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\deps OPENSSL_PATH=c:\phpbuilds\2k5\apps +
-</code> +
- +
-Compilation x64Debug +
-<code bash> +
-C:\phpbuilds\2k5\curl-7.18.1\lib>nmake /f Makefile.vc8 cfg=debug-ssl-zlib ZLIB_PATH=c:\phpbuilds\2k5\deps OPENSSL_PATH=c:\phpbuilds\2k5\apps MACHINE=x64 +
-</code>+
internals/windows/libs/libcurl.1212051227.txt.gz · Last modified: 2017/09/22 13:28 (external edit)