Creating a new Php project

Creating a new Php project

Php projects behave similar to other web projects in Visual Studio. The project maps a directory structure on your system. There are four types of projects you can create

  • Blank local project is ideal for starting fresh with a new Php application. It supports both Php 4 and Php 5 and has two deployment configurations: local and remote.
  • New project in existing forlder lets you create a project from a local directory that already has a Php application.
  • Import project lets you select a remote location over Ftp, SFtp or Ftp/S and download its content to the local machine. The project will also be preconfigured with the existing settings on the remote server including the Php modules been used by your application. The Php module references will be added to your project and intellises for those modules will be available.
  • Remote server project lets you work directly on a remote server as if the files were stored locally. It uses Ftp, SFtp or Ftp/S to access the remote server. Like imported projects, remote server projects know the configuration of the remote server and populate the Php modules reference to match the server configuration.

Once you create a project, you can use the solution view to add files to the project.


Learn more about VS.Php project/solution management features. VS.Php project manager information