#1. Open apache environment variabled
$ sudo nano /etc/apache2/envvars
#2. Change following 2 lines
export APACHE_RUN_USER=www-data export APACHE_RUN_GROUP=www-data
with these :-
export APACHE_RUN_USER=vagrant export APACHE_RUN_GROUP=vagrant
#3.Restart apache2
$ sudo service apache2 restart