Elasticsearch-PHP needs curl or custom http handler
<p>i'm deploy laravel 5.2 to ubuntu and installed elasticquent lib and elasticsearch 2.3.4 , when i try to figure the result of aggregation :</p>

<pre><code>RuntimeException in ClientBuilder.php line 144:
Elasticsearch-PHP requires cURL, or a custom HTTP handler.
</code></pre>

<p>I already install curl using command sudo apt-get install php5-curl and its still display the same error </p>

<p>How to fix it?</p>

<p>Thank you </p>