Page 1 of 1

browsers won't open .php files correctly

PostPosted: 06. February 2011 04:30
by Messana
Downloaded XAMPP, have Apache running and when I try opening .php files from Notepad++ to Firefox, I get a blank screen. In IE only the code shows up. Same results if I open the files by themselves.

-I see the welcome screen in http://localhost just fine.

Re: browsers won't open .php files correctly

PostPosted: 06. February 2011 07:41
by Sharley
What are you typing in your web browsers address bar to open a .php file?

They need to be opened using a URI for example http://localhost/yourfile.php

http://localhost that works for you actually opens the index.php file.

Notepad++ will open a php file if you associate the .php file extension with Notepad++ or if you simply drag the file into an already open Nnotepad++.