#Laravel + Nginx + Postgresql + PHP-FPM, 502 Bad Gateway
7 messages · Page 1 of 1 (latest)
Sharing an image of a config is really unhelpful, and won't help people to help you
I'm not about to type out your entire config to look at what's not right
Key issue I can immediately spot, for some reason you're not using sockets for PHP
I'm not going to type out your regex for server names to figure out what's wrong, but it's likely there
Does it happen always or sometimes? If it's always, it's probably something in your system missing, e.g. pgsql drivers.
Also double check that php and pgsql drivers are updated
I used multiple php and it's running in same time. So I use port :9000 for php7.4 and :9250 for php8.2. This config I use in my WSL (ubuntu) before and running well. So I think is going well to in MacOS.