How to view my PHP files locally on my computer

I just installed EasyPHP (http://www.easyphp.org).

Now I need to know how to view my PHP files locally. According to a PHP tutorial book I’m following, I’m supposed to upload my PHP files into my PHP-enabled web server. Where is that? How do I access it?

I have XP Home. I usually keep my web files in either my desktop or “My Document”.

if it is already set up go to http://localhost/ in your web browser.

You have to put your PHP files in the /htdocs/ folder of your webserver and then access them via http://localhost/path/to/file .

Thanks for your quick responses but I still can’t find it :confused:

Can I get a step-by-step instruction where to find the htdocs folder in my webserver. I don’t even know where my web server is.

I did a search on my computer for both localhost and htdocs and couldn’t find them.

Easyphp, by the way is located in C:\Program Files\EasyPHP

The Apache directory is located in C:\Program Files\EasyPHP\apache

PHP is also located inside the EasyPHP directory. That’s where EasyPHP installed automatically.

Thanks in advance.

C:\Program Files\EasyPHP\apache\htdocs

If you really searched for that, you would have found it.

I don’t see htdocs inside C:\Program Files\EasyPHP\apache

This is all the files and directories I see in “apache”:

I also check each of the directory you see above, and don’t see htdocs.

I’ve also did a search in “My Computer” and still cannot find htdocs.

The standard for Apache’s web root is /htdocs/, so I am really puzzled on why they changed this.
However, after reading the Installation Guide from EasyPHP (something you could have done, too :wink: ), the files have to be stored in a directory called “www”: http://www.easyphp.org/presentation.php3 .

Thanks Icheb.