Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I installed the XAMPP-Package in the /opt/ directory. I can start my Webserver etc., so it works! But the problem is that the folder "htdocs" is in the /opt/ ...
  1. #1
    Just Joined!
    Join Date
    Apr 2008
    Location
    Germany
    Posts
    8

    Can't work with XAMPP

    Hi,

    I installed the XAMPP-Package in the /opt/ directory. I can start my Webserver etc., so it works! But the problem is that the folder "htdocs" is in the /opt/ directory and so i am not able to create, edit, save files etc. I'm not logged in as root, but even if i make my account a member of the root-group, it doesn't work at all.
    Please help!

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    Create a new group e.g. www, add yourself to that group and then use chown to recursively change the group ownership of the files in the htdocs to the www group e.g.
    Code:
    groupadd www
    gpasswd -a user www
    chgrp -R /opt/xampp/htdocs
    If you still can't write to that directory, you will need to change the permissions using chmod.

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Location
    Germany
    Posts
    8
    Ok, that didn't work... But I solved the problem. I logged in as root an changed the owner of the whole lampp-folder. That works!
    Anyway, thanks to you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...