
|
To configure PDT communication in Zend
Platform:
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 .
Go to the Configuration
| Studio tab.

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:
Click Add.
The Add New Allowed Host dialog will open.
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.
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.
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.
Click to save your settings.
Go to the Platform | Preferences tab.

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.
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.
Click Save.
Restart your Web server
for the settings to take effect.
|