PhpStorm 2022.3 Help

New Project From Existing Files Wizard

File | New Project From Existing Files

Use this Wizard to set up new projects around existing files that reside locally or on remote hosts.

The wizard lets you process specific files from a distributed project without downloading or copying it entirely. PhpStorm creates a project directory in the specified location with the .idea folder that contains the project files.

Choose Your Scenario

On the first page of the Wizard, choose the way to access the files around which a new project will be set up.

Item

Description

Web server is installed locally, source files are located under its document root

Select this option if you have a local Web server and you want to set up a project around existing files or folders that are located below the folder appointed as the server document root, for example below .\htdocs.

Clicking Next brings you to the Create New Project: Choose Project Directory page.

Web server is installed locally, source files are located elsewhere locally

Select this option if you have a local Web server and the files or folders you want to set up a project around are also stored locally but not under the folder appointed as the server document root.

Clicking Next brings you to the Create New Project: Specify Local Path page.

Web server is on remote host, files are accessible via network share or mounted drive

Select this option to have PhpStorm copy files to a local drive via network and set up a project around them.

Clicking Next brings you to the Create New Project: Specify Local Path page.

Web server is on remote host, files are accessible via FTP/SFTP/FTPS/WebDAV

Select this option to have PhpStorm download files from a remote server via the FTP, SFTP, FTPS, or WebDAV protocol.

Clicking Next brings you to the Create New Project: Specify Local Path page.

Source files are in a local directory, no Web server is yet configured

Select this option if you want to work with files in a certain local directory without using any Web server.

Clicking Next brings you to the Create New Project: Choose Project Directory page.

Last modified: 14 March 2022