Reputation: 1554
I installed netbeans with php plugin.I also installed XAMP.My problem is how to configure /opt/lampp/htdocs/ to my netbeans application so that I can debug and run that from the application.Problem is when I try to make a project inside from netbeans it does not allow me to create files on that localhost.I guess netbeans doesn't have write access to the file system. What to do?any help??
Upvotes: 1
Views: 6506
Reputation: 41
sudo chmod 777 /opt/lampp/htdocs
command and give sudo
your password when promptedYour htdocs
directory should now be rewritable.
Upvotes: 4
Reputation: 7752
You could set up a virtual host to point to your project directory which needs to reside in a directory that is writable. Here's a link to a tutorial for setting up a virtual host using XAMP:
Setting Up Virtual Hosts for XAMPP
Upvotes: 3