Configuring Studio Communication Settings in Platform

In order for you to be able to view, debug and profile Platform Events in PDT, you must ensure the correct communication settings are configured in your Zend Platform.

 

 

Instructions on how to complete a procedure

To configure PDT communication in Zend Platform:

  1. Open your Zend Platform GUI.

Note:

This can be done from within PDT by selecting the server on which you have configured your Zend Platform integration from the drop-down list next to the Zend Platform icon on the toolbar .

  1. Go to the Configuration | Studio tab.

  1. Ensure the address of your Zend Studio is included in the Allowed Hosts sections. This will ensure you can debug/profile Platform Events.
    To add an address to the list:

    1. Click Add.
      The Add New Allowed Host dialog will open.

    2. Enter the IP address and Net mask of the machine on which your PDT is installed and click Save.
      Your Zend Studio machine's address will be added to the Allowed Hosts  list.

  2. Ensure your Studio's IP address is not in the Denied Hosts list.
    If it is, click Remove next to the required address to remove it from the list.

  3. Under the 'Other Settings' category, set the Debug Server to expose itself to remote clients by selecting 'Always' from the Expose Remotely drop-down list.

  4. Click to save your settings.

  5. Go to the Platform | Preferences tab.

  1. In the Zend Platform Settings section, configure the following:

    • Auto detect the Zend Studio Client Settings - Set to 'On' to inform Zend Platform of the method of connection to Zend Studio. This allows Platform to automatically detect your Zend Studio Debug settings.
      Auto Detection Port
      - Ensure the Auto detection port number is set to the Broadcast Port number in PDT.
      This is configured in PDT's Installed Debuggers preferences page (Window | Preferences | PHP | Debug | Installed Debuggers) by clicking 'Configure'. The default port number is 20080.

    • Click Test to verify that PDT’s Broadcast Port is set to the same port number as Platform ’s Auto Detection Port. This test should only be run when PDT is open.

    1. Method of passing the Zend Studio Server parameters - Defines the means for passing communication parameters from the Zend Platform to PDT. Choose COOKIE or GET method.

Note:

The default, recommended method is COOKIE. The GET method should only be used if you are experiencing problems with the COOKIE method.

  1. Click Save.

  2. Restart your Web server for the settings to take effect.

 

 

 

Related Links

Related Links:

Setting Up Zend Platform Integration

Defining a Zend Platform Server in Studio

Troubleshooting Zend Platform Integration