文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>How to Integrate the Zend Debug with Zend Eclipse-PHP (PDT) and XAMPP

How to Integrate the Zend Debug with Zend Eclipse-PHP (PDT) and XAMPP

时间:2010-08-26  来源:creasy

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.

 

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:

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载