Page 1 of 1

PHP Pages come up as exe files

PostPosted: 16. June 2009 02:53
by Edtheredhead
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

Re: PHP Pages come up as exe files

PostPosted: 16. June 2009 06:40
by Wiedmann
whenever I try to pull up a PHP file,

How are you doing this exactly?

Re: PHP Pages come up as exe files

PostPosted: 16. June 2009 12:32
by Edtheredhead
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?

Re: PHP Pages come up as exe files

PostPosted: 16. June 2009 12:34
by Wiedmann
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)

Re: PHP Pages come up as exe files

PostPosted: 18. June 2009 00:38
by Edtheredhead
Thanks! I uninstalled, reinstalled, uninstalled, reinstalled.

Now it's working the way that you recommended.

Thanks!