Bug #74050 [Opn->Fbk]: missing constants definition CURLPIPE_MULTIPLEX, CURL_HTTP_VERSION_2...etc.

From: Date: Mon, 06 Feb 2017 06:45:00 +0000
Subject: Bug #74050 [Opn->Fbk]: missing constants definition CURLPIPE_MULTIPLEX, CURL_HTTP_VERSION_2...etc.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207195@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74050&edit=1 ID: 74050 Updated by: requinix@php.net Reported by: david dot feng at xflying dot com Summary: missing constants definition CURLPIPE_MULTIPLEX, CURL_HTTP_VERSION_2...etc. -Status: Open +Status: Feedback Type: Bug Package: cURL related Operating System: Ubuntu trusty PHP Version: 7.1.1 Block user comment: N Private report: N New Comment: Those constants are available in PHP but they require libcurl >= 7.43. Ubuntu Trusty only comes with libcurl 7.35. Previous Comments: ------------------------------------------------------------------------ [2017-02-06 06:12:32] david dot feng at xflying dot com Description: ------------ I've installed php7.1-fpm, php7.1-curl on my Unubtu trusty with Nginx 1.11.9. I'm working on a HTTP2 related project and called curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); it reports that CURLPIPE_MULTIPLEX is undefined. and I need to use CURL_HTTP_VERSION_2_0 instead of CURL_HTTP_VERSION_2 which is different from the manual's described here: http://php.net/manual/en/curl.constants.php Test script: --------------- curl_multi_setopt($mh, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74050&edit=1

« previous php.bugs (#207195) next »