I need help, php wont work..

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

I need help, php wont work..

Postby Blue-Wolf » 26. February 2008 21:18

I've just downloaded Xampp and it installed smoothly without errors.

The problem is that I did a simple PHP script and saved it in the httpdoc folder as test.php but when I open it, none of the PHP code shows, HTML does but not PHP. I tried some of the other PHP files in the /httpdoc/xampp folder and none of them work they all show the coding and varibles and dont function properly.. How can I get PHP functioning?
Blue-Wolf
 
Posts: 3
Joined: 26. February 2008 21:11

Postby Wiedmann » 27. February 2008 00:03

when I open it,

How did you do this exactly?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Blue-Wolf » 27. February 2008 00:05

Since it didnt have a browser set with it, I right-clicked the test.php file then open as -> Internet explorer (didnt work) then Opera (Didnt work) then FireFox (didnt work)
Blue-Wolf
 
Posts: 3
Joined: 26. February 2008 21:11

Postby Wiedmann » 27. February 2008 00:11

I right-clicked the test.php file then open as

This does not work with PHP files. You must open PHP files in a webbrowser with "http://servename/filename.extension".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Blue-Wolf » 27. February 2008 00:44

Ah! I've got it working!

Thank You so much! :D

I'll try stay active here :P...


and... you.. Posts: 12045... How on earth did you do that?! O-o thats.. alot.
Blue-Wolf
 
Posts: 3
Joined: 26. February 2008 21:11


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 96 guests