Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

eheins's avatar
Level 18

Laravel new Project curl 52 error

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)

0 likes
4 replies
eheins's avatar
Level 18

Thanks for your quick response @frankincredible. I've also seen this solution on StackOverflow, however when I try this I get the message:

Error: Service httpd is not started.

And unfortunately it doesn't fix the problem.

shiroze's avatar

this is doesn't work for me. is someone have alternative solution ?

Taelkir's avatar

Funnily enough, the brew services stop httpd command also said "Service httpd is not started" when I ran it... But when I tried running laravel new again, it worked. If you're having trouble, maybe just try one more time?

Edit, three months later: Stumbled across my own comment via google while experiencing the same problem, only this time my 'solution' didn't work.

Please or to participate in this conversation.