https://bugzilla.wikimedia.org/show_bug.cgi?id=71729
Bug ID: 71729
Summary: HttpRequest: Failing under PHP 5.6
(CURLOPT_CLOSEPOLICY not defined)
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Web browser: ---
Mobile Platform: ---
Constants CURLOPT_CLOSEPOLICY, CURLCLOSEPOLICY_LEAST_RECENTLY_USED and others
are not defined as they were removed in PHP 5.6.0.
Tests should probably be updated to only test the ones relevant for the
CurlHttpRequest class to function properly. If those include constants removed
in PHP 5.6, then we should fix the code to use a different method in PHP 5.6.
See also:
* http://php.net/manual/en/curl.constants.php#constant.curlopt-closepolicy
* https://gerrit.wikimedia.org/r/#/c/159159/
* https://bugzilla.wikimedia.org/show_bug.cgi?id=70570
Example of HttpRequest failing on PHP 5.6:
https://travis-ci.org/wikimedia/mediawiki-core/jobs/37159310 (lines 305...342)
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l