Run the below command to check what user and group apache is running as, by typing
$ ps auwfx | grep apache2
root 28937 0.0 0.1 3004 756 pts/0 S+ 12:35 0:00 | \_ grep apache2
root 25235 0.0 2.5 37744 12992 ? Ss Mar18 0:06 /usr/sbin/apache2 -k start
www-data 27102 0.0 1.3 38252 6972 ? S Mar21 0:00 \_ /usr/sbin/apache2 -k start
(more…)