Page 1 of 1

cant run *.php on xampp please help

PostPosted: 06. February 2005 05:46
by himanshu
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.

PostPosted: 06. February 2005 10:26
by Wiedmann
Put your PHP files in htdocs, and open them like HTML files (via "http://localhost/foo.php")

PostPosted: 06. February 2005 16:58
by Eraser__
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

PostPosted: 25. February 2005 18:32
by HyE
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

PostPosted: 25. February 2005 21:02
by taustin
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)