Home > Backend Development > PHP Tutorial > PHP开发调试环境配备-windows + zend studio + ApmServ + zend debugger

PHP开发调试环境配备-windows + zend studio + ApmServ + zend debugger

WBOY
Release: 2016-06-13 12:54:21
Original
825 people have browsed it

PHP开发调试环境配置-windows + zend studio + ApmServ + zend debugger

  PHP开发调试环境配置-windows + zend studio + ApmServ + zend debugger

  准备材料:

  ZendStudio-9.0.4:http://www.geekso.com/ZendStudio9-key (破解版本)

  ApmServ:http://apmserv.s135.com/

  zend debugger:http://ishare.iask.sina.com.cn/f/11686597.html

  操作步骤:

  1、将ZendStudio的工作目录指向ApmServ的web目录。本文以D:\APMServ5.2.6\www\htdocs为例说明。

  2,ZendDebugger.dll复制到php.exe同目录下,dummy.php文件复制到web目录,即D:\APMServ5.2.6\www\htdocs目录。

  3,配置zend debugger到php.ini文件:

  添加如下:

  zend_extension_ts=D:/APMServ5.2.6/PHP/ZendDebugger.dll

  zend_debugger.allow_hosts=127.0.0.1:6543/PHPTest (这里是因为在D:\APMServ5.2.6\www\htdocs目录中新建了项目文件夹PHPTest)

  zend_debugger.expose_remotely=always

  4、重启Apache,新建一个php文件,输入phpinfo()函数,浏览器打开,出现如下的Zend Debugger模块,即为配置成功:


  5、关联到zend studio

  打开preferrence-->php部分,做好php executables和Debug部分的配置。参考如下(注意图中的目录路径):



  成功调试图:


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template