First let me say that I am NOT starting a web server.
I am running a 64-bit version of Windows 7. When I open a php file, the browser loads it, and does not show it as text. I use Notepad ++ for "Launch in Chrome" and it displays correctly in the address bar, but it loads into my download directory. Just a couple of days ago, it worked perfectly and displayed the text of the php file.
I know that you need a web server with PHP installed to display the file correctly, but this is not what I'm trying to do. I just want it to display the php file as text. Then I change the file: /// part of the url to localhost and it works.
source share