martinstan
Technical User
Hi
I'm learning all this from a book and I've run into problems straight off. I've installed apache and php on windows XP pro and I'm trying to set up a testing environment. My Document root directory is left at htdocs and in this I've placed a folder called test. In this I've placed a basic html file called index.php. I open my browser and type the following and I get the following window ? you are downloading the file: test from localhost, would you like to open, save,cancel?
if I place a file called index.html then the file opens correctly.
Can anyone tell me where i'm going wrong?
Thanks
Martin
I'm learning all this from a book and I've run into problems straight off. I've installed apache and php on windows XP pro and I'm trying to set up a testing environment. My Document root directory is left at htdocs and in this I've placed a folder called test. In this I've placed a basic html file called index.php. I open my browser and type the following and I get the following window ? you are downloading the file: test from localhost, would you like to open, save,cancel?
if I place a file called index.html then the file opens correctly.
Can anyone tell me where i'm going wrong?
Thanks
Martin