I had already solved this after multiple back and forths, by changing php versions and back to whatever version seems to have resolved this but its back again and this time that doesn't solve it.
I have been experiencing issues with a Laravel application running on Herd, specifically encountering a 502 Bad Gateway error. After some troubleshooting, the issue seems to be related to PHP-FPM (FastCGI Process Manager) and potential conflicts with port usage or configuration.
I've attempted to resolve the issue by checking and restarting Nginx and PHP-FPM services, verifying PHP versions, and editing configuration files (e.g., www.conf) to adjust port settings. I've also tried to determine the PHP version being used by Herd for my Laravel application. Despite these efforts, the issue persists. Any suggestions