PHP and MySql Novice to Ninja: Can’t get script to work. I am using Windows 10. I have installed the virtual server, which works OK (Thye test program from the book is successful). When I try to run the random number program (script copied direct from the book) I get a 502 bad gateway error message. How do I correct this?