Please help me, my server is crashed, for static files it's fine, but my server throws error 502
bad gateway for every php
script run from browser. I created a simple test.php
script, when I run this scrip from command line using php test.php
it's working, but when I try to open it from my web address mydomainname(dot)com/test.php
or ip_address/test.php
it got 502 bad gateway.
Please help me or give me some suggestions about what to check. I'm so confused because everything looks normal here. I'm using php 7.3
and Ubuntu 16.04
by the way