This question already has an answer here:
I am using xampp to build a database. I have written a file in NotePad++ as a php file and tried to open it in Chrome, and all it did was display all the text, unescaped, contained within the notepad file, instead of executing the contents of the file (which was display a deliberate error message). What happened?
</div>