I have always used PhpStorm on my PC and have XAMPP working perfectly. I have successfully set up MAMP, with apache and mysql working fine. I have properly configured the CLI interpreter, made a database and everything else that was recommended.
My problem is very weird and I cannot seem to find the solution. The problem is as follows:
PHP ONLY pages load fine and behave as expected. HTML ONLY pages work just fine too, as above.
The issue is that when I try to run a page that has a php script and also displays html, it gives me the 502 Bad Gateway issue (PhpStorm 2019.2.1).
If someone could please help me out that would be amazing, I have a new Macbook and am keen to get everything working as it was on my PC and begin developing my pages as normal.
Thanks a heap everyone!