I have installed Apache, PHP5 and MySQL on my new Linux Lite installation for my laptop. I edited
apache2.conf look like this:
Options Index FollowSymLinks includes ExecCGI AllowOverride All Require all granted
And I added a new
tag to point where I have my files.
Index of FollowSymLinks options AllowOverride None Require all granted
I've also changed the
sites-available / 000-default.conf look at this:
DocumentRoot ~ / Projects / hcr
After doing this and restarting Apache, the previous error I had, which was 403, disappears, but now I'm getting
404 not found when there is an index.php file located in the directory.