OK I'm trying to set up a local webserver with php and mysql to host my website, and i've got a book (yes they still exist, not everything's digital ) on php, mysql and apache which had a cd with them all on. So I installed apache first, and it went on fine, but when try to visit localhost I get the Microsoft IIS blurb and it seems like microsoft's already got the IIS server running. Is there any way I can turn this off so that I can use Apache on localhost?
IIS is the M$ (inferior) equivalent of Apache. You've got both running. Obviously IIS is starting first at boot, probably because it's M$y, so is grabbing port 80, and then blocking apache from running. Prob best thing to do is, as Atomic said, uninstall IIS. (Control Panel - Add/Remove -> Windows Components -> IIS.) Of course you could just change the port of one of them and have them both running concurrently, but why on earth would you want to do that?