Advertisement
oscarholmedo

Run Apache with youruser not www-data

Aug 12th, 2013
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | None | 0 0
  1. edit /etc/apache2/envvars
  2. ---
  3. #export APACHE_RUN_USER=www-data
  4. #export APACHE_RUN_GROUP=www-data
  5. export APACHE_RUN_USER=youruser
  6. export APACHE_RUN_GROUP=youruser
  7. ---
  8.  
  9. chown youruser this
  10. /var/lib/phpmyadmin
  11. /etc/phpmyadmin
  12. /usr/share/phpmyadmin
  13. /var/lock/apache2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement