PHP Development Environment Series (2)-XDebug settings

Source: Internet
Author: User
Tags vc9
PHP development environment configuration series (II)-XDebug settings & nbsp; after "" is discharged from hospital, "doctor" washes "" from start to end, clean, even the OS is clear, there is no way, had to re-equip the ". & Nbsp; I searched for a PHP project recently, major development assistants include Zend, PhpEclipse, Emacs, VI, and note PHP development environment configuration series (2)-XDebug settings
After "Xiao Hei" was discharged from hospital, "doctor" washed "Xiao Hei" from start to end, clean, and even clear OS, no way, had to re-equip "Xiao Hei.

I recently searched for a PHP Project. The major development assistants include Zend, PhpEclipse, Emacs, VI, and notepad. since I used to use Eclipse, let's go with it, install a PHP plug-in Eclipse. Also available on eclipse.org, called eclipse-php-helios-sr1-win32.zip at http://www.eclipse.org/downloads/packages/eclipse-php-eclips/heliossr1.

Following the previous article "PHP development environment configuration series (I)-Apache cannot be started (SSL conflict)", in order to release the brain memory, I continued to write this article "PHP development environment configuration series (II) -XDebug settings for future use.

PhpEclipse can be used after being decompressed. it is very convenient, as long as the syntax is highlighted, format, syntax prompt, and apache can be run. XAMPP has been configured before, and XDebug will be implemented below.

XDebug is a good stuff. I didn't know much about it before. I always use print or echo values for debugging (a little too good). now with XDebug, Debug is just like java, which is convenient and easy to understand.

There are many versions of XDebug. After taking a closer look at the website, I found that "If you don't know which one you need, please refer to Custom installation instructions. ", Very good. open this page, copy & paste the phpinfo () content to form as required, and then click" Analyse my phpinfo () output ", the page extracts the specified part of the content you submit to form an Instruction similar to the following:

1. Download php_xdebug-2.2.0-5.3-vc9.dll
2. Move the downloaded file to D: \ xampp \ php \ ext
3. Update D: \ ampp \ php. ini and change the line
Zend_extension = D: \ xampp \ php \ ext \ php_xdebug-2.2.0-5.3-vc9.dll
4. Restart the webserver


After completing the configuration, visit phpinfo () again, Ctrl + F to search for XDebug, and you will be able to see the relevant configuration content of XDebug.

Now, the configuration of xdebug is complete and the job is closed.

Address: http://ryan-d.iteye.com/blog/1541261

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.