Maybe (probably) not best practices but at least it this allows you to work with the folder. By Default its wayy too locked down where you can't even delete the default files that come with xampp or install anything into the folder. I was trying to install wordpress before and because I had no read/write permissions it was broken. Here is my fix on linux where lampp is in opt/lamp. If you are on a raspberry pi I think its in /var/www/html
sudo chown -R YOURUSERNAMEGOESHERE:daemon /opt/lampp/htdocs
sudo chmod -R 775 /opt/lampp/htdocs
No comments:
Post a Comment