Installing the Zend Debugger
The Zend Debugger is the PHP extension which should be installed on your Web server in order to perform optimal remote debugging and profiling using Zend Studio, and can be downloaded as a standalone package and installed onto your server.
|
|
|
To install the Zend Debugger on your server:
-
Download the Studio Web Debugger package which corresponds to your operating system from http://www.zend.com/en/products/studio/downloads.
-
Extract the Zend Debugger package.
- Locate the ZendDebugger.so (Unix) or ZendDebugger.dll (Windows) file in the directory which corresponds to your version of PHP (5.4.x, 5.5.x).
-
To load the Zend Debugger, add the following line to your php.ini file:
- To authorize your Zend Studio to access the Zend Debugger, add the following lines to your 'php.ini' file:
zend_debugger.allow_hosts=<host_ip_addresses>
-
Replace <host_ip_addresses> with the IPs of the hosts which will be allowed to initiate debug sessions (this should be the IPs of the machines on which Zend Studio is installed.
Note:
<host_ip_addresses> should be entered in the format X.X.X.X (e.g. 10.1.2.21). Multiple IP addresses should be separated by commas. You can also use a net mask to denote ‘wild card’ IP addresses (e.g. 10.1.2.0/24 would include all IP addresses with the prefix 10.1.2).
-
Copy the 'dummy.php' file from the extracted Zend Debugger directory to your document root directory.
-
Restart your Web server.
|
|