在“复制到以下文件夹”字段中,指定 Web 服务器上要存储源文件的文件夹。如有必要,请使用“浏览”按钮。
缺省情况下,该字段将指定以下路径:<文档根目录>\<新 PHP 项目>。
Web 服务器会从文档根目录文件夹中查找要在浏览器中打开的文件。文档根目录是在 Web 服务器配置文件中指定的。
The wizard detects the and provides the path to the default location of the htdocs folder. 如果在安装 Apache 服务器或 AMP 包的过程中接受了缺省设置,请从下拉列表中选择相关的路径。
If you are using Remote Debugging or Symbolic Links, click Advanced and set up path mapping. See Path Mapping.
远程 Web 站点
From Run As dropdown list, choose Remote Web Site (FTP/SFTP).
From the Remote Connection dropdown list, choose the relevant connection profile.
To create, update, or remove an (S)FTP Connection profile, click Manage. The Manage Remote Connections dialog box opens with the fields showing the current (S)FTP connection profile settings. (If there are no existing connection profiles, the Create New Connection dialog opens automatically when you click Manage.)
To create a new (S)FTP connection profile, click Add. 将打开“创建新连接”对话框。
If you are using Remote Debugging or Symbolic Links, you need to manually define path mapping for individual run configurations. To define path mapping:
In the Run Configuration panel, click Advanced (not available for Script configurations). The Advanced Web Configuration dialog opens.
Select the debug URL:
The default URL, as shown in the panel
Ask Every Time, which prompts you for the URL every time you start a debugging session
Do Not Open Browser, which starts the debug session without opening a browser window. You need to open your web browser and browse for the URL. Note that the GET (or POST) variable XDEBUG_SESSION_START is needed.
Click New to add a mapping. Enter the server path and the project path.
If you are using the Debugger Proxy, enter the host name and port.