Pierre Joye in php.internals (Thu, 3 Sep 2015 18:40:06 +0700):
>On Sep 3, 2015 2:48 PM, "Jan Ehrhardt" <php...@ehrhardt.nl> wrote:
>>
>> Davey Shafik in php.internals (Wed, 2 Sep 2015 17:31:44 +1200):
>> >I'd love to see this make it into PHP 7.0 if it's not too late? It's
>> >extremely trivial, but whatever — not that fussed :)
>> >
>> >PR is here: https://github.com/php/php-src/pull/1497
>>
>> I applied the same patch to the sources of the almost released 5.6.13.
>> Patch OK (6 lines offset), but there is no HTTP2 entry in 5.6's phpinfo
>> for cUrl. So it is not obvious that something has changed.
>>
>> Could you make a test for it?
>
>It should be visible if curl supports it, under the protocol section
>Did you build curl with nghttp2?

In PHP 5.6 it does not become visible (at least under Windows). In PHP7 it
shows up as HTTP2: Yes

The protocol section for cUrl just says: dict, file, ftp, ftps, gopher,
http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp, sftp, smtp, smtps,
telnet, tftp.

And, yes, I built cUrl with nghttp2 support, after struggling a bit with
doing that on Windows.

C:\php-sdk\php56dev>curl --version
curl 7.44.0 (i386-pc-win32) libcurl/7.44.0 OpenSSL/1.0.1p zlib/1.2.8
WinIDN libssh2/1.6.0 nghttp2/0.7.10
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s
rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS IDN IPv6 Largefile SSPI Kerberos SPNEGO NTLM SSL libz
HTTP2
-- 
Jan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to