Change localhost directory?

I picked up the Sitepoint book PHP & MYSQL
NOVICE TO NINJA it helps me a great deal and is such a great book. I usually
work on PC, only sometimes on Mac. I have enough experience with PC as a
programmer where I always get thing to work. On Mac I am not as familiar with
things. My question relates to the Mac manual setup of Apache PHP & MySQL.
Should I be able to edit the line in httpd.conf that reads:

DocumentRoot “/Library/WebServer/Documents”

so that it resides at any location on my Mac I want? Or is this
relative to another Apache used directory and has to remain where it is? Thanks

If you installed it on Windows, you should be able to install Apache and PHP in a desired folder. I have mine in /dev/ since /dev/ doesn’t really exist in Windows. That’s if you are manually installing each package. If you are using WAMP, I wouldn’t know. I’m not sure about Macs though because I don’t have Mac. Are you able to use .exe files? I know that in Ubuntu, .exe files doesn’t work because .exe is only for Windows.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.