0

I have a php website that I would like to add to my localhost so I can do some testing but can't figure out how to add it correctly. The website has multiple directories built into it. If someone could lead me in the right direction that would be great. I have tried a couple of the tutorials online but nothing seems to be working right for me. They all deal with setting it up with a single html file.

1 Answer 1

0

Simply place the entire website in /var/www/. This is the "webroot", or the place where all website files are stored.

1
  • If Ubuntu's version is 13.04 or newer, The DocumentRoot became /var/www/html instead of /var/www. For more information, check this question: askubuntu.com/questions/448944/…
    – Dan
    Sep 24, 2015 at 8:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .