Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Whats the simplest way to edit and add files to “/var/www”?
Should I as a developer use var/www in conjuction with apache?

I've gone and re-installed Ubuntu recently and I'm going thru the process of re-setup/install of some things. One is to setup Apache2, MySQL, etc, which is working correctly now.

I'm wondering if I should work my PHP/MySQL projects out of the /var/www/ directory for development purposes; or if I should create symnlinks over to my users directory; or perhaps I should just change Apache2 to run as the same user as me.

I'm the only user on this computer. Any suggestions? Thanks, Jeff

share|improve this question

marked as duplicate by bodhi.zazen, Marco Ceppi Aug 14 '12 at 14:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

related?… – user8290 Feb 4 '12 at 2:02
up vote 2 down vote accepted

You can add yourself to the www-data group and then use /var/www with no issues sudo adduser USERNAME www-data

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.