User Guide > Tasks > Managing PHP Servers > Adding PHP Servers > Adding a Generic PHP Server

Adding a PHP Server

This procedure describes how to add a PHP server to Zend Studio for deploying applications.

For information on adding a Zend Server, see:

 

 

Instructions on how to complete a procedure

To add a remote Zend Server:

  1. From the Menu bar,  select Window | Show View | PHP Servers to add the PHP Servers view to your perspective.

  1. In the PHP Servers view, click on the Add icon .

    The PHP Server Creation dialog is displayed.

  1. Select PHP Server, and click Next.
    The Server details dialog is displayed.

  1. Enter the following information:

    • Name: Server name.

    • Debugger: Select a server debugger (XDebug/Zend Debugger).
    • Base URL: Server URL (e.g., <protocol>://<server url>[:<port>]).
    • Local Web Root: 
  1. Click Next.
    The Server Path Mapping dialog is displayed.

  1. Click Add.
    The Add New Path Map dialog is displayed.
  2. Define a new path for the server and in your workspace or file system, and click OK.
  1. Click Next.

    The Automatic Upload dialog is displayed.

  1. Click the Connection Profile drop-down menu to select an existing connection profile, or click Manage to edit or create a connection.
  1. Click Next.

    The Configure SSH Tunneling dialog is displayed.

  1. To enable SSH tunneling, select the Enable SSH Tunneling check-box, and enter the following details:
    •  Username - SSH connection user name.
    •  Password - SSH connection password.
    •  SSH Private Key - SSH connection private key. Click Browse to locate the key.
    •  Port Forwarding - Click Add to add a new port forwarding configuration for remote debugging/profiling.
      Click here for more general information on port forwarding.
    • HTTP Proxy:
      •  Host - Proxy server.
      •  Port - Proxy port.
  1. Click Finish.
    Zend Studio validates the new remote Zend Server, and adds it to the PHP Servers view.

 

 

Read Also

  Managing PHP Servers