https://bugzilla.wikimedia.org/show_bug.cgi?id=58178

Kevin Israel (PleaseStand) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Kevin Israel (PleaseStand) <[email protected]> ---
(In reply to comment #3)
> It sounds like you need to update either your version of PHP or your php-curl
> module. According http://www.php.net/curl_setopt the
> CURLOPT_CONNECTTIMEOUT_MS
> constant was added in cURL 7.16.2 and has been available in PHP since 5.2.3.
> Since MediaWiki requires PHP 5.3.2, there's no reason you shouldn't have that
> constant available.

Not the PHP extension, but rather libcurl itself -- the PHP extension may have
been compiled against an old version of the library. In that case, the constant
could be missing. From ext/curl/interface.c in PHP 5.3 (similar code exists
even in newer PHP versions):

#if LIBCURL_VERSION_NUM > 0x071002
        REGISTER_CURL_CONSTANT(CURLOPT_CONNECTTIMEOUT_MS);
#endif

-- 
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

Reply via email to