PHP Pages come up as exe files

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

PHP Pages come up as exe files

Postby Edtheredhead » 16. June 2009 02:53

Hi all,

I'm new to this, so please be kind, lol.

I installed XAMPP and everything seems to be okay. However, whenever I try to pull up a PHP file, it comes up as an executable file and only gives me the options of "Run" or "Save" and neither will work.

I'm sure that something is mis-configured, however I've got no idea of what it is.

If you could provide some much needed assistance, I would greatly appreciate it.

Godspeed,
Ed
Edtheredhead
 
Posts: 3
Joined: 16. June 2009 02:47

Re: PHP Pages come up as exe files

Postby Wiedmann » 16. June 2009 06:40

whenever I try to pull up a PHP file,

How are you doing this exactly?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: PHP Pages come up as exe files

Postby Edtheredhead » 16. June 2009 12:32

I've tried to view it in 3 different ways, all with the same result.

1. In Dreamweaver, I've hit "Preview in Browser"
2. In IE, I've typed in the address of the file, i.e. c:....
3. I've double clicked on the file to open it.

Any suggestions?
Edtheredhead
 
Posts: 3
Joined: 16. June 2009 02:47

Re: PHP Pages come up as exe files

Postby Wiedmann » 16. June 2009 12:34

2. In IE, I've typed in the address of the file, i.e. c:....
3. I've double clicked on the file to open it.

You must open PHP files through the server: "http://..."
(see readme_en.txt)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: PHP Pages come up as exe files

Postby Edtheredhead » 18. June 2009 00:38

Thanks! I uninstalled, reinstalled, uninstalled, reinstalled.

Now it's working the way that you recommended.

Thanks!
Edtheredhead
 
Posts: 3
Joined: 16. June 2009 02:47


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 61 guests