I'm a total noob trying to create a website with PHP. I created a small test page that I want to use as the foundation of my grandiose project. I'm having a problem getting my page to display on my browser.
This is my PHP document:
<HTML>
<HEAD>
<TITLE>Hello</TITLE>
</HEAD>
<BODY>
<?php echo 'Hello' ?>
</BODY>
</HTML>
I have copies of this PHP document saved as all of the following names:
index.php
index.htm
index.html
I have all three of these documents saved in the following two locations:
C:/Apache2/htdocs
C:/My Documents/My Website
This is what's in my httpd.conf:
.
.
.
DocumentRoot "C:/Apache2/htdocs"
.
.
.
UserDir "My Documents/My Website"
.
.
.
When I type localhost in my browser, I get:
WinLAMP, she installed successfully.
What do I need to do to get my test page to display when I type localhost in my browser?
Thanks!