Different folders for sources and deployment

When developing PHP using Netbeans 6.5.1, you probably don’t want to store your projects source files in your web server root, e.g. for version control.

You can choose a different location for your sources and deploy your application in the web server root.

Right cklick your project, choose properties, select Copy files from Sources Folder to another location. Under Copy to folder choose your server root, a folder with the project name will be generated.