Page 1 of 1

Executing PHP via firefox

PostPosted: 21. December 2009 18:19
by newbtophp
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

Re: Executing PHP via firefox

PostPosted: 21. December 2009 18:25
by Izzy
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

Re: Executing PHP via firefox

PostPosted: 21. December 2009 18:34
by newbtophp
Im runing windows vista, and i figured it out!

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

Problem solved.