How To Create A Symbolic Link To htdocs In XAMPP On Ubuntu

Posted: August 21, 2014 in Uncategorized

Brett Clapper

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


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s