[HowTo] Install Apache, MariaDB (Mysql), PHP (LAMP)

I use:

sudo chown MYUSERNAME:http -R /srv/http/

sudo find /srv/http/ -type d -exec chmod 755 {} +
sudo find /srv/http/ -type f -exec chmod 644 {} +

Replace MYUSERNAME with appropriate!

3 Likes