Hi all,
I am using WAMP Manager 1.6 on windows XP to run PHP localhost server.
When i installed i have set the default directory setting for my WAMP server, now the problem is i want to change that default directory setting and i don't know how to do it.
My default directory is,
C:\Program Files\wamp\www
i want to change it to,
C:\Users\Billy\Documents
Can any body help me to sort this problem?
Thanks in Advance.
- Login or Signup Now to post comments

You can configure apache using the “ httpd.conf ” file
To get to httpd.conf file just click on the wamp icon then go to config files and select httpd.conf.
After you follow these steps :
Look for the document root in the file.
Find a line that looks like DocumentRoot “C:/Program Files/wamp/www/”.
Change that line to : DocumentRoot “C:\Users\Billy\Documents/”
Look again as above you’ll find another line like: <Directory “C:/Program Files/wamp/www/”>.
Change it to: <Directory “C:\Users\Billy\Documents/”
Now save the file and restart your server to make the changes in action.
Hello R. Billy,
In order to change the default directory of your WAMP server, you must have to edit the httpd.cof configuration file. In this file the location mentioned like <Directory C:\Documents and settings\User\My documents\websites\>. But you must note the following things,
· Avoid blank space in the new path.
· You should have WRITE access to the folder.
· Total 2 places have to be changed in the cof file.