Blogger 이사
[apache] change run user, group
한갭
2016. 4. 4. 18:03
cakephp3 Permission denied error
/etc/apache2/envvars
# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
##export APACHE_RUN_USER=www-data
##export APACHE_RUN_GROUP=www-data
## 아파치 유저 변경
export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data
service apache restart
http://hangaebal.blogspot.kr/2015/06/apache-change-run-user-group.html