natimage Posted November 27, 2003 Share Posted November 27, 2003 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! Quote Link to comment Share on other sites More sharing options...
Dennis Posted November 28, 2003 Share Posted November 28, 2003 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 Quote Link to comment Share on other sites More sharing options...
natimage Posted November 29, 2003 Author Share Posted November 29, 2003 Thanks, much! I will give it a go today or tomorrow!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.