Change apache2 running user/group
vi /etc/apache2/envvars |
Edit
export APACHE_RUN_USER=imran export APACHE_RUN_GROUP=www-data |
Save and restart apache
vi /etc/apache2/envvars |
Edit
export APACHE_RUN_USER=imran export APACHE_RUN_GROUP=www-data |
Save and restart apache