Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Elasticsearch-PHP requires cURL, or a custom HTTP handler

Tags:

laravel-5

[RuntimeException] Elasticsearch-PHP requires cURL, or a custom HTTP handler.

How to solve this problem in laravel 5.

like image 929
Yogesh Shinde Avatar asked Mar 03 '16 09:03

Yogesh Shinde


Video Answer


1 Answers

Do you have php curl installed on your machine? installing php5-curl might fix it. Quote from the elastic search website: 'ext-curl: the Libcurl extension for PHP is required'

like image 100
Jason Avatar answered Oct 18 '22 00:10

Jason