DNS resolve Problems with Guzzle/curl, and php on MacOS for local requests

I just ran into a Problem where I wanted to request another local Laravel App (guzzle-test.test) from an App with Guzzle.

cURL error 6: Could not resolve: guzzle-test.test (DNS server returned answer with no data) (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)


Run the following:

brew uninstall curl-openssl --ignore-dependencies
brew services restart php
valet restart

curl Version mismatch

The Problem is caused by curl installed in multiple versions. You can find further details in this Stackoverflow Post:

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top