2

I am getting started with NetBeans PHP package on a Mac OS X 10.7.5 and when I try to open a project with PHP Application with existing source then click Browse for the source folder, it shows nothing inside Application folder.

The source folder is in Application/MAMP/htdocs/ but I don't know why it doesn't show up in NetBeans.

Has anyone ever experienced this before?

Seong Lee
  • 10,314
  • 25
  • 68
  • 106
  • Does NetBeans have permissions to read/write files in /Application/MAMP/htdocs? – ladar Oct 11 '13 at 14:26
  • @ladar Hi, thanks for the comment. How do I know whether NetBeans have permissions or not? Where can I access this info? – Seong Lee Oct 13 '13 at 08:53
  • 1
    You can check permissions from terminal cd /Application/MAMP/htdocs ls -la (see similar http://stackoverflow.com/questions/9046977/xampp-permissions-on-mac-os-x) or faster could be to try to create a new PHP project inside the htdocs from NetBeans, create some PHP files, close these files in NetBeans and open them again. – ladar Oct 13 '13 at 09:29
  • @ladar Thank you, this helped me. You should submit this as an answer – crmpicco Mar 08 '15 at 12:20

1 Answers1

1

I just stumbled upon this issue trying to set up Netbeans on OSX for the first time. NB could not see the contents of /Applications (which is where AMPPS keeps /www), and changing permissions did not work for me.

Simpler solution was to create a symlink in Terminal:

ln -s /Applications/AMPPS/www /Users/Username/Documents/www

Netbeans can now see this folder

WP Shala
  • 55
  • 6