1-Environment
Windows XP
Php5.2.5
Apache2.0.55
Zendstudio 5.5.1 (not for eclipse)
Zenddebugger5.2.12-winnt
* The above Zend software can be downloaded after being registered on the Zend client website.
Http://www.zend.com
Appendix:
Zend studio 5.5 download: http://www.gougou.com/search? Search = Zend % 20 studio % 205.5.1 & id = 1
2-Configuration instructions
Zendstudio's debug function is relatively simple to install.
2-1 install zendstudio (Omitted ......)
After the installation is complete, the zendstudio Toolbar will be installed in IE or Firefox, right-click to see. For example:
2-2Install and configure zenddebugger
Decompress the downloaded zenddebugger(zenddebugger-5.2.12-cygwin_nt-i386.zip) package to obtain the following directories and files.
2-2-1 In the [5_2_x_comp] Directory, Zenddebugger. dll Copy the file to the PHP installation directory, for example:
* It must be in the PHP Directory. Otherwise, the configuration will fail.
2-2-2 Set Dummy. php Copy the file to the Web-root directory. For example, in [C:/localweb.
2-2-3 Open the php. ini file and enter the following content:
[Zend]
Zend_extension_ts = C: / Php5. 2.5 / Debuger / Zenddebugger. dll
Zend_debugger.allow_hosts = 192.168 . 0.219 (or "127.0.0.1", it is best to use this value !!!) (Local IP Address )
Zend_debugger.expose_remotely = Always
2-2-4 Restart Apache
2-3Confirm Configuration
2-3-1Create a phpinfo. php file in the web root directory
<? PHP
Phpinfo ();
?>
2-3-2 Open the IE browser and enter the phpinfo. php viewing address, for example:
*When the red line is appended, the debugger is successfully configured.
2-4If the operation fails, check the following:
(1)IP address (do not include the port number );
(2)Whether zenddebugger. dll is put in the PHP Directory;
(3)Whether to copy the dummy. php file to the Web root directory.
(4)If the error message "PHP/php-cgi ((( phpphpphpphpphpphpphpphp.exe. mbpd file in the overview directory, you need to clear all temp files in IE to solve the problem. (Most of these errors occur after zendcore or zendplatform is uninstalled ). .
Or the following error message:C: \ release E ~ 1 \ ○ \ locals ~ 1 \ temp \ wer120.tmp. dir00 \ appcompat.txt
3-How to UseZendstudioDebug webpages
3-1Open zendstudio
Open, where [Debug] Page, set all of themInternalMode. (For example :)
3-2Restart zendstudio, open [run] and enter the command"CMD", Enter"Netstat-"To view the local port status. (For example)
* If the zendstudio port is found, the configuration is successful.