cant run *.php on xampp please help

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

cant run *.php on xampp please help

Postby himanshu » 06. February 2005 05:46

hi i am using XAMPP for Windows Ver-1.4.5 i dont know how to run php files on XAMPP .
please help me.
-himanshu.
User avatar
himanshu
 
Posts: 4
Joined: 06. February 2005 05:34
Location: INDIA

Postby Wiedmann » 06. February 2005 10:26

Put your PHP files in htdocs, and open them like HTML files (via "http://localhost/foo.php")
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Eraser__ » 06. February 2005 16:58

Place Your files in C:\apachefriends\xampp\htdocs and open it

http://localhost/somefile.php

example You put the file index.php in C:\apachefriends\xampp\htdocs

open it http://localhost/index.php


Regards

Eraser
Eraser__
 
Posts: 9
Joined: 04. February 2005 15:35

Postby HyE » 25. February 2005 18:32

I am having the same problem i have my Index.php in the C:\apachefriends\xampp\htdocs folder but when i just type in the url without the /index.php it will not show but when i typr with theindex.php it shows.
is there a way that it sohows without someone typing the index.php like something like this http:// some url/ instead of http:// some url/index.php

thank you
HyE
 
Posts: 11
Joined: 11. February 2005 16:41

Postby taustin » 25. February 2005 21:02

You need to dig out your http.conf file (which should be in c:\apachefriend\xampp\apache\conf\), and find the DirectoryIndex command. Make sure "index.php" is on it somewhere.

(Be sure to restart Apache after any changes to http.conf)
taustin
 
Posts: 150
Joined: 24. September 2004 00:23
Location: Huntington Beach CA


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 40 guests