PHP development and debugging environment configuration-windows + zendstudio + ApmServ + zenddebuggerPHP development and debugging environment configuration-windows & #43; zendstudio & #43; ApmServ & #43; zenddebugger PHP development debugging environment configuration-windows + zend studio + ApmServ + zend debugger
PHP development and debugging environment configuration-windows + zend studio + ApmServ + zend debugger
Preparation materials:
ZendStudio-9.0.4: http://www.geekso.com/ZendStudio9-key (cracked version)
ApmServ: http://apmserv.s135.com/
Zend debugger: http://ishare.iask.sina.com.cn/f/11686597.html
Procedure:
1. direct the ZendStudio working directory to the ApmServ web directory. This document uses D: \ APMServ5.2.6 \ www \ htdocs as an example.
2. copy zenddebugger.dllto the same directory of php.exe, and copy the dummy. php file to the web Directory, that is, the D: \ APMServ5.2.6 \ www \ htdocs directory.
3. configure zend debugger to the php. ini file:
Add as follows:
Zend_extension_ts = D:/APMServ5.2.6/PHP/ZendDebugger. dll
Zend_debugger.allow_hosts = 127.0.0.1: 6543/PHPTest (this is because the project folder PHPTest is created in the D: \ APMServ5.2.6 \ www \ htdocs directory)
Zend_debugger.expose_remotely = always
4. restart Apache, create a php file, input the phpinfo () function, and open the browser. the following Zend Debugger module appears, indicating that the configuration is successful:
5. associate with zend studio
Open the preferrence --> php section and configure the executables and Debug sections of php. Refer to the following (note the directory path in the figure ):
Successful debugging diagram: