
Specify the server configuration name in the Name text box. The list contains only configurations of the type In-place marked with, because your files are already under the server document root.Ĭhoose Add new local server, click Next, and define a new server access configuration on the Add Local Server page that opens:

For more details, see Configure synchronization with a server.Ĭhoose Use existing server and select the relevant server configurations from the list. On the Specify Local Server page, appoint the server access configuration to use.

Alternatively, you can do it later in Settings ( Ctrl+Alt+S) | Directories. PhpStorm marks the selected folder with the icon.Ĭonfigure the folders under the project root. On the Choose Project Directory page, select the folder where your sources are stored and click the icon on the toolbar or choose Project Root from the context menu of the selection to appoint the folder project root. On the Choose Your Scenario page, choose Web server is installed locally, source files are located under its document root and click Next. Select File | New Project from Existing Files from the main menu.

The wizard covers different scenarios corresponding to different source files location and server configurations ( in-place, local, or remote), and takes you through configuring folders under the project root. If, besides source files, you have a Web server configured for application deployment, use the New Project From Existing Files wizard to set up your PhpStorm project. Open source files and set up a Web server If you have been working with another project, select whether you want to open the new project in a new dialog or in the current one.įor instructions on how to get a project from version control, refer to Check out a project from a remote host (clone). In the dialog that opens, select the directory in which your sources, libraries, and other assets are located and click Open. Otherwise, from the main menu, select File | Open. This option imports the selected project to PhpStorm as is (opens it).

If you are not going to use a Web server in your project right now, you can just open the folder with the project files. PhpStorm analyzes the code base and adds a. You can set up a PhpStorm project around the existing source code created in another IDE or in a dedicated editor.
