| < Previous | Index | Next > |
1) Create a folder where you want your web sites to live. This doesn't have to be on the same drive as Apache. For the sake of this guide we're going to assume that our web sites live in C:\www, so create the folder C:\www.
2) Our test site is called sandbox.dev, so create the new folder C:\www\sandbox.dev.
3) We now need two more folders, one for the web site files to go in, and one for the Apache log files (very useful for error trapping). So within C:\www\sandbox.dev create two folders, one called public_html and one called www_logs. The 'public_html' folder is what most software applications call your 'webroot'. If it makes it easier for you to remember, you can name it this (just remember to reflect this change through-out the rest of the guide)
4) The final directory structure should look like this:

5) Go into the public_html folder and create a new file called index.php.
6) Place the following code into the index.php file:
<?php phpinfo(); ?>

7) Save index.php.
| < Previous | Index | Next > |
|
Need help? Post in the WAMP Guide Forum! © Copyright 2007 - 2008 Richard Davey |