eclipse+php plugin +xdebug build php perfect dev/debug Environment guide

Source: Internet
Author: User
Keywords eclipse+php plugin +xdebug build php perfect dev/debug Environment guide
Tags zend framework

Recently to start using the Zend Framework to develop medium-sized applications, because the use of a fully object-oriented framework to develop programs, not only the development of ideas, the previous Editplus+dreamweaver editor combination obviously can not meet my requirements. My new environment was initially set as ECLIPSE+PDT plugin +xdebug+apache (the most popular Web server platform for UNIX platforms).

Previous has been to dotnet, Java IDE Code automatic sniffing, code hints, program breakpoint debugging and so on automation function envy unceasingly, but oneself writes PHP only relies on Echo, Var_dump () to debug the program, can let PHP also implement breakpoint debugging? Previously found in the Eclipse PHP plugin debug options, indicating that the debugging function should be feasible, but do not know how to configure the method, ran Google find data found not a complete description of the configuration document, I can only connect the information obtained to later test.

The result: Perfect PHP breakpoint Debugging!

=====================================================

This article is the original article, reproduced please indicate the article originated from the idea of the land, the author: Hazy Evil

=====================================================

Here is the detailed procedure.

Step One:

1. First download and install the appropriate software

JDK is absolutely necessary, it is the most basic requirement to run Eclipse, download here.

Eclipse has integrated the PHP development plugin version here to download, select the corresponding version of the operating system to download to local.

Xdebug to download here, please select the appropriate file to download according to your PHP version.

Servers, it is recommended to use Apache (the most popular Web server platform for UNIX platforms) +php module installation method.

2. Software Installation

After installing the JDK first, please follow the steps below to configure the system variables.

Next is the installation Eclipse,eclipse not how to set up, as long as the set jdk,eclipse placed in any position can be directly run

Final Xdebug Installation

I am using PHP5.2.5, download the Xdebug file named: Php_xdebug-2.0.3-5.2.5.dll, put the file in the Php/ext folder can be

12 3 Next Page
  • Related Article

    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.