PHP Eclipse XDEBUG Development Environment Preparation

Source: Internet
Author: User
PHP Eclipse XDEBUG Development Environment Building

1. Download the JDK

2. Download Eclipse-php-helios-sr2-win32-x86_64.zip

3. Download php5.3

4. Download Xdebug

5. Download Apache2

6. Configure PHP.ini

Add the following paragraph

; Load xdebugzend_extension= "D:/php-5.3.16-win32-vc9-x86/ext/php_xdebug-2.2.1-5.3-vc9.dll"; xdebug configuration [Xdebug]; Turn on automatic tracking xdebug.auto_trace = on; Turn on exception tracking xdebug.show_exception_trace = on; Turn on remote debugging auto-start Xdebug.remote_autostart = on; Turn on remote Debugging xdebug.remote_enable = TRUE; collect variable xdebug.collect_vars = on; collect return value Xdebug.collect_return = on; collect parameters Xdebug.collect_ params = On

7 Configuring Apache

LoadModule php5_module "D:/php-5.3.16-win32-vc9-x86/php5apache2_2.dll" AddType application/x-httpd-php. Phpphpinidir "D:/php-5.3.2-win32-vc9-x86"
?

8 root directory changed to workspace or add virtual directory

#DocumentRoot "D:/program files/apache software Foundation/apache2.2/htdocs" DocumentRoot "E:/workspace/php/demo"

? or configure

#虚拟目录节点
 
  
   
      #设置欢迎界面    directoryindex index.php index.html index.htm    Alias  /php  "e:/ Workspace/php/demo "    #"/php "is a virtual path," E:/workspace/php/demo "is the physical path of your project storage;    
  
   
    
           #访问权限设置        Order allow ,        deny    
  
   
 
   allow from all

?

So far.

?

?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.