eclipse+php plugin +xdebug build PHP Perfect Development/Debugging Environment Guide

Source: Internet
Author: User
Tags zend framework

Recently, to start using the Zend Framework to develop midsize applications, with a fully object-oriented framework to develop the program, not only the development of ideas, the previous Editplus+dreamweaver editor portfolio is clearly not enough to meet my requirements. My new environment is initially designated as the ECLIPSE+PDT plugin +xdebug+apache.

Previously, the dotnet, Java IDE Code automatic sniffing, code hints, program breakpoint debugging and so on automation function envy unceasingly, but own write PHP only relies on Echo, Var_dump () to debug the program, can let PHP also realize breakpoint debugging? The debug option, which was previously found in Eclipse's PHP plug-in, was supposed to be feasible, but I didn't know how to configure it, and ran to Google to find data that didn't have a complete introduction configuration document, and I could only splice the information I got and then test it.

The result is: the perfect implementation of PHP breakpoint debugging!

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

This article is an original article, reproduced please indicate the origin of the article from the place of thought, the author: Hazy Evil

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

The following is the detailed process.

Step One:

1. First download and install the corresponding software

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

Eclipse has consolidated the PHP development plug-in version here to download, select the version of your operating system and download it locally.

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

Server arbitrary, recommend the use of Apache+php module installation method.

2. Software Installation

After you install the JDK first, follow these steps to configure the system variables

followed by the installation of Eclipse,eclipse do not have to set, as long as the jdk,eclipse placed in any location can be directly run

Last Xdebug Installation

My own use is PHP5.2.5, download the Xdebug file name is: Php_xdebug-2.0.3-5.2.5.dll, put the file under the Php/ext folder can

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.