I successfully installed Apache, MySQL and PHP on my Linux Mint 17.3 Mate computer few days back. After installation I could do all tasks, creating, accessing and modifying files in localhost folder /var/www/html/
.
Today I wanted to test my website containing around 100 files (all with .php extension) nicely arrange in folders and subfolders. So I copied all my website files located in my Windows 10 laptop's c:/xampp/htdocs
folder to the localhost folder located in my Linux Mint desktop. After copying files I'm now unable to access any file through browser, even those files which were accessible yesterday.
When I type http://localhost/
on the addressbar of the browser I get the error:
**Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80**
(command used for copying files was 'cp -a /source-folder-path/. /var/www/html/')