browsers won't open .php files correctly

Problems with the Windows version of XAMPP, questions, comments, and anything related.

browsers won't open .php files correctly

Postby Messana » 06. February 2011 04:30

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.
Messana
 
Posts: 1
Joined: 06. February 2011 04:12

Re: browsers won't open .php files correctly

Postby Sharley » 06. February 2011 07:41

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++.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 137 guests