zoukankan      html  css  js  c++  java
  • How to Integrate the Zend Debug with Zend EclipsePHP (PDT) and XAMPP

    1. Download the following three software: 

    1. download zend-eclipse-php-helios-win32-x86.zip from http://www.zend.com/community/pdt
    2. download ZendOptimizer-3.3.3-Windows-i386.exe from http://www.zend.com/downloads/
    3. download ZendDebugger-20100729-cygwin_nt-i386.zip from http://www.zend.com/en/products/studio/downloads

    2. unzip the zend-eclipse-php-helios-win32-x86.zip to eclipse folder.

    3. install the ZendOptimizer, during the process, you need to:

    1. point php executives to PHP installation folder where the php.ini locations, for example, (XAMPP_HOME\php)
    2. point apache installtion folder to XAMPP_HOME\apache.
    3. after ZendOptimizer has been installed, these two lines will be appended to php.ini file.
    •  
      • zend_extension_manager.optimizer_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0"
      • zend_extension_ts="C:\Program Files\Zend\ZendOptimizer-3.3.0\lib\ZendExtensionManager.dll"

    4. unzip the ZendDebugger-20100729-cygwin_nt-i386.zip to temporary folder. verify your php version by starting your xampp and see the phpinfo() page. (for example, mine is 5.2.9)

    1. create “zendDebugger” folder under “XAMPP_HOME/php” fodler.
    2. create another folder “php-5.2.x” under “zendDebugger”  as the php version is 5.2.9
    3. find the zendDebugger.dll file from the the unzipped folder according to your php version, such as “5_2_x_comp” as php version is 5.2.9, copy it to “php-5.2.x” folder.
    4. copy the dummy.php file from the unzipped folder to the document root of your XAMPP server.
    5. add these three lines to php.ini file and append to “Zend location”.
      1. zend_extension_manager.debug_server_ts=C:\dev\Ultilities\xampp\1.7.1\xampp\php\zendDebugger
      2. zend_debugger.allow_hosts=127.0.0.1
      3. zend_debugger.expose_remotely=always
    6. restart your apache server, you will see the zend debugger is installed. image

    5. to configure the eclipse to use zend debug. go to Windows –> Preference –> PHP –> Debug –> PHP serve.

    1. enter “http://localhost” for field “enter url point to document root of your server”.
    2. click the “path Mapping tab”, enter your local filepath for your project file and select the path from your workspace.
    3. select any php page, go to Debug-> Debug Configurations-> new Configuration.  click the “test zend debugger” button, result will show:
    4. image
  • 相关阅读:
    前端程序员容易忽视的一些基础知识
    一道前端学习题
    Unity调用Windows对话框保存时另存为弹框
    Unity镜子效果的实现(无需镜子Shader)
    Unity射线检测的用法总结
    unity中实现简单对象池,附教程原理
    Unity调用Window提示框Yes/No(英文提示窗)
    Unity调用Windows弹框、提示框(确认与否,中文)
    C#LinQ语法
    服务器的购买与网站的创建
  • 原文地址:https://www.cnblogs.com/leelike/p/1867451.html
Copyright © 2011-2022 走看看