PHP Development Debug Environment Configuration-windows + Zend Studio + Apmserv + Zend Debugger
PHP Development Debug 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
Operation Steps:
1. Point the Zendstudio working directory to the Apmserv web directory. This article takes D:\APMServ5.2.6\www\htdocs as an example to illustrate.
2,zenddebugger.dll copied to the Php.exe directory, the dummy.php file is copied to the Web directory, which is the D:\APMServ5.2.6\www\htdocs directory.
3, configure Zend Debugger to php.ini file:
Add the following:
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 was created in the D:\APMServ5.2.6\www\htdocs directory phptest)
Zend_debugger.expose_remotely=always
4, restart Apache, create a new PHP file, enter the Phpinfo () function, the browser opens, the following Zend Debugger module appears, that is, the configuration is successful:
5. Link to Zend Studio
Open the preferrence-->php section and configure the PHP executables and debug sections. Refer to the following (note the directory path in the figure):
Successful Debug diagram: