First let me state that I am NOT running a web server.
I am running on Windows 7 64-bit. When I open a php file the browser is downloading it instead of showing it as text. I am using Notepad++ to "Launch in Chrome" and it shows up in the address bar correctly but is downloading to my download directory. Just a couple of days ago this was working fine and displaying the text of the php file.
I know you need a web server with PHP installed to get the file to render correctly but that is not what I'm trying to do. I simply want it to display the php file as text. Then I change the file:/// portion of the URL to localhost and it works.
That's because php is unlike html a server based programming language, it cannot be run on the computer without a server, and i assume you don't know what I am talking about, but here is how you should do it: -
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With