![]() |
Issue with nginx attemping to open myBB files instead of running them - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: Installation and Upgrades Support (https://community.mybb.com/forum-182.html) +--- Thread: Issue with nginx attemping to open myBB files instead of running them (/thread-230755.html) |
Issue with nginx attemping to open myBB files instead of running them - Nightwielder - 2021-01-05 I had myBB running on an apache2 server but had to port to nginx as I needed to run a console via that and wanted it to run on port 443. I managed to install everything, but the forums do not open anymore. Instead, the server prompt you to download a file. I have limited nginx experence. My site is https://rosharshop.com you can see my issue when you click on the forums tab Here is my site config file:
RE: Issue with nginx attemping to open myBB files instead of running them - Crazycat - 2021-01-05 Where is the php configuration ?
RE: Issue with nginx attemping to open myBB files instead of running them - Nightwielder - 2021-01-05 (2021-01-05, 10:58 AM)Crazycat Wrote: Where is the php configuration ? Not enabled... I added this (which was commented out in that file) It didn't fix my issue. I'm running php 7.4.13, but I assume this code still works...Now I get this error when navigating to forums: 502 Bad Gateway Solved the 502 Bad Gateway error. I hadn't installed php-fpm. Thanks for your help. |