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
  • 相关阅读:
    python之递归函数
    python之内置函数
    python之迭代器与生成器
    python之装饰器函数
    python之函数进阶
    python之初识函数
    一起学Android之Dialog
    一起学Android之Menu
    一起学Android之GridView
    一起学Android之ViewPager
  • 原文地址:https://www.cnblogs.com/leelike/p/1867451.html
Copyright © 2011-2022 走看看