Loading...
Home » , , » Xampp - Ubuntu - cant access my project in lampp/htdocs

Xampp - Ubuntu - cant access my project in lampp/htdocs

Posted by TeknoBlog on Sunday, 5 February 2017

http://stackoverflow.com/questions/17624936/xampp-ubuntu-cant-access-my-project-in-lampp-htdocs


  1. In the linux terminal navigate to your lampp directory.
    cd /opt/lampp
  2. In the command line type:
    sudo chmod 777 -R htdocs
The problem should be solved.
1st Edit:
What you just did was:
You navigated to the directory containing the protected directory. Your problem was that it was a folder that was access protected by your system. When you commanded chmod 777 -R htdocs, what you did was set the permissions for everyone on your computer to read/write/execute - allowed.
Now, you know what each digit means. It says who the number is about. Now each number from 0-7 sets a permission level. I will simply provide you a link for that.
I forgot to add why there is a '-R'. '-R' makes the command recursive and will affect htdocs as well as all subdirectories of htdocs and all subdirectories of those etc.

Thanks for reading & sharing TeknoBlog

Previous
« Prev Post

0 comments:

Post a Comment

iklan