Bug #74050 [NEW]: missing constants definition CURLPIPE_MULTIPLEX, CURL_HTTP_VERSION_2...etc.

From: Date: Mon, 06 Feb 2017 06:12:35 +0000
Subject: Bug #74050 [NEW]: missing constants definition CURLPIPE_MULTIPLEX, CURL_HTTP_VERSION_2...etc.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207194@lists.php.net to get a copy of this message
From: david dot feng at xflying dot com Operating system: Ubuntu trusty PHP version: 7.1.1 Package: cURL related Bug Type: Bug Bug description:missing constants definition CURLPIPE_MULTIPLEX, CURL_HTTP_VERSION_2...etc. 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 bug report at https://bugs.php.net/bug.php?id=74050&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74050&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74050&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74050&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74050&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74050&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74050&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74050&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74050&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74050&r=support Expected behavior: https://bugs.php.net/fix.php?id=74050&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74050&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74050&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74050&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74050&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74050&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74050&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74050&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74050&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74050&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74050&r=mysqlcfg

« previous php.bugs (#207194) next »