PhpStorm
 
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Creating a Project from Existing Local Sources

Last modified: 20 October 2021

When the files to work with are already on your machine, you can set up your development environment in three main ways:

  • You do not have a Web server on your machine or you are not going to use it right now. The sources are on your machine, you just do your development, possibly using the console to view the output. In this case, you can just open the folder under which the sources are stored without configuring access to a server. However, you can also use the New Project wizard.

  • You have a Web server on your machine, the sources are under the server document root (for example, /htdocs), and you do your development right on the server. In this case, you need to use the New Project wizard to arrange the sources in a project, appoint the project root folder, and configure access to the server through a server access configuration of the type in-place.

  • The Web server is installed on your computer but the sources are stored in another folder or on a mounted drive. You do your development, then synchronize with the server. Use the New Project wizard to arrange the sources in a project, appoint the project root folder, configure access to the server through a server access configuration of the type local, and map the folders under the project root folder with folders on the server.