Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
    
related? askubuntu.com/questions/19898/… –  user8290 Feb 4 '12 at 2:02
add comment

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.

1 Answer

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
add comment

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