Suggestion from StackOverflow:
If using Homebrew make sure to stop your services (brew services stop httpd) before creating the laravel project (laravel new my-laravel-project)
--
Seems like it may help you.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I am trying to install Homebrew and Valet on my Mac following Jeffrey's Laravel 6 series. I successfully created a first project with "Laravel new project". But I can't run it a second time, because now I get the following error every time I use "Laravel new project":
In CurlFactory.php line 200:
cURL error 52: Empty reply from server (see https://curl.haxx.se/libcurl/c/ libcurl-errors.html)
Please or to participate in this conversation.