



Select any PHP frameworks that you want to use in your project You can modify the run configuration and create new run configurations in the Project Properties window. Select an option in the Run As drop-down list to create the default run configuration for the project and specify any required details. Specify the project name and location of the project and files. Select the PHP Application project template. Open the New Project wizard and select the PHP project category. With this option, you could keep the PHP project in one location (such as the same folder as your Java projects) and the IDE could copy it to the public folder of your web server. Have the NetBeans metadata stored in another folder.Ĭopy the source files to another location. These options appear in the New Project wizard: However, you have other options for file locations. The IDE reads the location of your web server from your PHP environment. The IDE provides basic support for FTP and SFTP, however, it is preferable to use version control with remote projects and use a version control system to commit your changes to the remote server.īy default the IDE places all project files in your web server's public folder (such as /htdocs). The IDE provides a wizard that enables you to create a new empty PHP project or to create a PHP project from existing sources that are located on your local system or on a remote server. In the IDE, PHP development takes place within a project, though you can also edit, run and debug a PHP file that is not in a project. A project is a group of source files and the settings with which you run and debug those source files.
