-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CurlMultiHandler with PHP 5.4 [v2.0.0-beta1] #201
Comments
Whoops, that is indeed a problem. I have no preference for A patch would be gladly accepted! |
Just pushed a fix, sorry for the long delay on this...got caught up in other things. |
I'm having a few other issues with 5.4, I'm debugging now but think the issues will have to be patched upstream in guzzle. |
Ok...let me know if you want a hand debugging, would be happy to help. |
Ok, from looking at the upstream issue in RingPHP [https://github.com/guzzle/RingPHP/issues/23] , it looks as if The PR incoming... |
I'm trying out the new
v2.0.0-beta1
, but I'm having some trouble with the async/future mode, using with PHP 5.4. The problem seems to be withElasticsearch\ClientBuilder::multiHandler()
Fatal error: Uncaught exception 'RuntimeException' with message 'CurlMulti handler requires cURL.' in /chris/code/playground/elasticsearch-php-2-0-0-beta1-testing/vendor/elasticsearch/elasticsearch/src/Elasticsearch/ClientBuilder.php on line 117
Here's my setup:
so, when running PHP 5.4 with cURL, the above exception gets thrown I think due to this check for
curl_reset
which the documentation states to be a >= PHP 5.5 feature. Before I provide a patch, I wanted to check if there was a particular reason to check forcurl_reset
and notcurl_multi_init
?The text was updated successfully, but these errors were encountered: