Giter Site home page Giter Site logo

zhangleitea / curl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from winlibs/curl

0.0 1.0 0.0 33.9 MB

The multiprotocol file transfer library

License: Other

C 57.37% CMake 1.39% Shell 4.04% Makefile 23.73% C++ 0.42% Perl 4.94% Python 0.29% DIGITAL Command Language 1.97% Batchfile 0.51% M4 5.00% Roff 0.10% HTML 0.04% VBScript 0.14% Raku 0.07%

curl's Introduction

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

  • Nghttp2 binaries and development files

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

Configuration

See also https://github.com/winlibs/cURL/blob/master/winbuild/BUILD.WINDOWS.txt

Release build command lines:

PHP 5.6 x86

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

PHP 5.6 x64

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

PHP 7.0/7.1 x86

nmake /f Makefile.vc mode=static VC=14 WITH_DEVEL=E:\repo\deps_curl\vc14\x86 WITH_SSL=dll WITH_ZLIB=static WITH_NGHTTP2=dll WITH_SSH2=dll ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x86 

PHP 7.0/7.1 x64

nmake /f Makefile.vc mode=static VC=14 WITH_DEVEL=E:\repo\deps_curl\vc14\x64 WITH_SSL=dll WITH_ZLIB=static WITH_NGHTTP2=dll WITH_SSH2=dll ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x64 

PHP 7.2+ x86

nmake /f Makefile.vc mode=static VC=15 WITH_DEVEL=E:\repo\deps_curl\vc14\x86 WITH_SSL=dll WITH_ZLIB=static WITH_NGHTTP2=dll WITH_SSH2=dll ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x86 

PHP 7.2+ x64

nmake /f Makefile.vc mode=static VC=15 WITH_DEVEL=E:\repo\deps_curl\vc14\x64 WITH_SSL=dll WITH_ZLIB=static WITH_NGHTTP2=dll WITH_SSH2=dll ENABLE_WINSSL=no USE_IDN=yes ENABLE_IPV6=yes GEN_PDB=yes DEBUG=no MACHINE=x64 

curl's People

Contributors

weltling avatar cmb69 avatar bagder avatar jan-e avatar vszakats avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.