cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: HTTP2 support in libcurl3 for Ubuntu 14.04 and PHP7

From: Scott Moser <srmoser430_at_gmail.com>
Date: Sat, 10 Sep 2016 09:39:05 -0400

Thanks Daniel.

Do you know of anyone providing a libcurl build with HTTP2 enabled for a more recent version of Ubuntu? I’ve searched and can’t seem to find one. Maybe my search skills are lacking :-)

I’ve tried compiling my own version (limits experience doing this) and have run into issues re: missing pkg-config for nghttp2, instructions include python bindings which I don’t need, etc.

—>Scott

>
> Hi,
>
> I need a version of libcurl3 that will enable me to initiate HTTP2 sessions with Apple’s APNS service from within my PHP7 app running on Ubuntu 14.04.
>
> How can I find (or create) an appropriate version of libcurl3?
>
> Thanks for the help!
>
> Scott
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 9 Sep 2016 21:38:59 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> To: libcurl development <curl-library_at_cool.haxx.se>
> Subject: Re: HTTP2 support in libcurl3 for Ubuntu 14.04 and PHP7
> Message-ID: <alpine.DEB.2.20.1609092134360.5416_at_tvnag.unkk.fr>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> On Fri, 9 Sep 2016, Scott Moser wrote:
>
>> I need a version of libcurl3 that will enable me to initiate HTTP2 sessions
>> with Apple’s APNS service from within my PHP7 app running on Ubuntu 14.04.
>>
>> How can I find (or create) an appropriate version of libcurl3?
>
> I don't know if there's anyone providing modern libcurl builds for Ubuntu
> 14.04. You should probably search around for that first.
>
> If you want to build your own libcurl, you want to build it with at least a
> TLS library and nghttp2 to speak HTTP/2 properly. Then you need to build curl
> and libcurl from source and you need devel packages of your preferred TLS
> library and nghttp2. If Ubuntu 14.04 doesn't provide new enough versions of
> those dependencies, I suppose to need to build them too from source before you
> build curl.
>
> --
>
> / daniel.haxx.se
>
>

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-09-10