After you’ve installed XAMPP on your computer you will still need to do a few things before you can get to work on your projects. When you navigate to http://localhost in your browser you are being sent to the htdocs directory within XAMPP (specifically /opt/lampp/htdocs). This folder’s read and write permissions are limited to the root user and will not let you create files and folders within it.
If you try to change the permissions for htdocs XAMPP will not work properly and will leave you stuck at splash.php (the language selection screen) when navigating to localhost! Instead you have to create a symbolic link between a directory which you have read and write permissions in with htdocs. Essentially this means that your projects will technically exist in this new folder which will reside in your Home folder, but XAMPP will treat it as if it were located within htdocs.
View original post 217 more words