I followed the tutorial “How To Install Linux, Nginx, MySQL, PHP (LEMP stack) on Ubuntu 20.04” and now I have a 502 error when trying to use PHP. I looked at the error log and it says that its trying to connect to PHP 7, but I have PHP 8 installed. Is there a way to easily fix this?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.