5

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

How to solve this problem in laravel 5.

1

1 Answer 1

5

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'

Sign up to request clarification or add additional context in comments.

1 Comment

Worked like a charm. Dont forget to restart Apache when you install the module. I have PHP 7, so i used "php-curl" instead of "php5-curl".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.