Hi guys, i set apache (1.3) up with php (latest), and when I try to execute a php file, it opens download prompt, and downloades the code!
If i open root (ie http://localhost/) with a index.html file in root, it will execute the html file, but replacing index.html with index.php it will show the whole folder
ie:
Index of /
Name Last modified Size Description
--------------------------------------------------------------------------------
Parent Directory 06-Nov-2002 15:45 -
admin.html 01-Jun-2001 02:21 1k
index.php 26-Dec-2001 13:11 1k
any help would be very much appreciated!






Bookmarks