Just finish install ubuntu 16.04. After finish a fresh install of LAMP I got Error: Permission denied when try create a simple .php file to save into the localhost.
I have a idea but I can't figure out how to fix it.
As describe in many tutorials - install LAMP as SUDO... However, it's obvious I will have not access to this folder since I'm user "abc"
My steps: 1. sudo apt-get update 2. sudo apt-get install apache2 3. sudo apt-get install mysql-server 4. sudo mysql_secure_installation
I can see the Apache2 Ubuntu Default Page "Works"
Did I install wrong or I just need grant access as root for myself as user?
Any help is well appreciate.