Alex Mathew
Alex Mathew

Reputation: 1554

Netbeans and Xampp

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

Answers (2)

Garcia BELOUAHEM
Garcia BELOUAHEM

Reputation: 41

  1. Open your UNIX Terminal
  2. Run the sudo chmod 777 /opt/lampp/htdocs command and give sudo your password when prompted

Your htdocs directory should now be rewritable.

Upvotes: 4

Jonathan Spooner
Jonathan Spooner

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

Related Questions