Jump to content

Phpdev Question


natimage
 Share

Recommended Posts

Is there a way to change the root folder when using phpdev as a home testing server? I know how to change it in my html editor (DW MX)...but it doesn't work just changing it there. I'm assuming something in php.ini would need to be changed or something with Apache settings?????

 

Thanks!

Link to comment
Share on other sites

Search for httpd.conf and open it with wordpad (probably at C:\phpdev\Apache\conf if you did the installation without any changes to the path etc.) don't use notepad cause it jumbles up all the text making it diffcult to read.

 

Look for

 

>#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "C:/phpdev/www/"

 

and change the DocumentRoot "C:/where/ever/you/want/it/to/be" and that should do the trick.

 

Dennis

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...