• 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
  • 相关阅读:
    用Python实现QQ找茬游戏外挂工具
    Python常用模块
    将Qt 动态链接生成的exe及依赖dll打包方法
    Qt之VLFeat SLIC超像素分割(Cpp版)
    android studio下的NDK开发详解(一)
    条件注释判断浏览器版本<!--[if lt IE 9]>
    人脸识别中的八大难题,何时能解
    人脸识别简史与近期进展
    openCV之头文件分析
    看(学习)代码流程
  • 原文地址:https://www.cnblogs.com/leelike/p/1867451.html
Copyright © 2020-2023  润新知