Executing PHP via firefox

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

Executing PHP via firefox

Postby newbtophp » 21. December 2009 18:19

Hi,

I've installed xampp using the executable/installer and it finished installing to C:\xamp\xampp directory. I read in the documentation to execute files the path to it is /htdocs well, html files work and open fine in firefox, whereas php files do not execute when I open the php files in firefox - they download instead.

I've usually stuck to online webhosting - for php, but thought I'd try xamp, so aplogies if i seem silly.

Anyone could help?, on how i'd run php files and open them in firefox? :/

Thanks
newbtophp
 
Posts: 12
Joined: 21. December 2009 18:12

Re: Executing PHP via firefox

Postby Izzy » 21. December 2009 18:25

Missing support info - what XAMPP version and which Windows OS?
So assuming latest stable XAMPP version and Windows XP.

What exactly are you typing in the address bar of Firefox?



Some helpful reading for new XAMPP users:
\xampp\readme_en.txt file
or
http://www.apachefriends.org/winxampp/readme_en.txt

http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/faq-xampp-windows.html
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Executing PHP via firefox

Postby newbtophp » 21. December 2009 18:34

Im runing windows vista, and i figured it out!

i was doing file:// when its meant to be localhost/filename etc.. :)

Problem solved.
newbtophp
 
Posts: 12
Joined: 21. December 2009 18:12


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 36 guests