Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

502 Bad Gateway for Laravel Herd in MacOs

I am using Laravel Herd. Nginx version 1.25.2, php version 8.2.11. I installed it yesterday and created a sample project in Laravel. When I wrote sample.test to my browser it worked for me but today somehow it stopped working. I looked at Herd and saw these errors. I checked the port and I am sure it is empty. I both checked from terminal and Activity Monitor. How can I solve it?

like image 794
Onur Sezen Avatar asked Nov 02 '25 05:11

Onur Sezen


1 Answers

Simply switch between PHP versions and back to the version you want to use. That will solve the problem. It seems to be a Herd issue.

like image 70
Ale DC Avatar answered Nov 03 '25 20:11

Ale DC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!