Setting your Zend Studio to be an Allowed Host
This procedure describes how to ensure the machine on which your Zend Studio
is installed will be an Allowed Host for initiating your Debug and
Tunneling session on the remote server.
The steps you need to follow will
depend on whether you have Zend Server,
Zend Platform,
Zend Core
or the standalone
Zend Debugger installed on your server:
Note:
If you have both
Zend Platform and Zend Core installed on your remote server, you only
need to configure Zend Studio
as an Allowed Host in one of them.
|
|
|
|

|
If Zend Server is installed:
Open your Zend Server
GUI.
Go to the Server Setup |
Debugger tab.

Ensure the address of your
Zend Studio is included in the Allowed Hosts sections.
To add an address to the list:
Under the Allowed
Zend Studio Clients for Debugging category, enter the IP of the machine
on which your Zend Studio
is installed
Click Add.
The IP Address is 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.
Click the
button to apply your settings.
|
|
|
If
Zend Platform is installed on your server:
|
|
|
|

|
Open your Zend Platform
GUI.
Note:
This can
be done from within Zend Studio
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 both the Allowed Hosts and Allowed Hosts for
Tunneling (if necessary) sections.
To add an address to the lists:
Click Add.
The Add New Allowed Host dialog will open.
Enter the
IP address and Net mask of the machine on which your Zend Studio is installed
and click Save.
Your Zend Studio machine's
address will be added to the list.
Ensure the 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 (indicate that it is loaded)
to remote clients by selecting 'Always' from the Expose Remotely drop-down
list.
Click to save your settings.
Restart your Web server
for the settings to take effect.
|
|
|
If
Zend Core is installed on your server:
|
|
|
|

|
Open your Zend Core GUI.
Go to the Configuration
| Zend Debugger tab.

Ensure the address of your
Zend Studio
is included in both the Allowed Hosts and Allowed Hosts for Tunneling
(if necessary) sections.
To add an address to the lists:
Click Add .
A new Allowed Host / Allowed Host for Tunneling line will appear with
the IP 0.0.0.0.
Enter the IP
address and Net mask of the machine on which your Zend Studio is installed.
Ensure the 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 'Expose Remotely'
category, set the Debug Server to expose itself to remote clients by selecting
'Always' from the drop-down list.
Click to save your settings.
Restart your web server
for the settings to take effect.
|
|
|
If
only the standalone Zend Debugger is installed on your server:
|
|
|
|

|
Open your php.ini file.
Edit the zend_debugger.allow_hosts
and zend_debugger.allow_tunnel
(if necessary) parameters to include the IP address of the machine
on which your Zend Studio
is installed.
e.g. zend_debugger.allow_hosts=127.0.0.1/32
zend_debugger.allow_tunnel=127.0.0.1/32
Ensure the address is not
in your zend_debugger.deny_hosts parameter list.
Set the Debug Server to
expose itself to remote clients by setting the zend_debugger.expose_remotely
parameter to Always.
(e.g. zend_debugger.expose_remotely=always).
Save the file.
Restart your Web server
for the settings to take effect.
|
|
|