PHP development environment equipped with series (ii)-XDEBUG settings

Source: Internet
Author: User
Tags php development environment phpinfo vc9
PHP Development Environment Configuration Series (ii)-XDEBUG settings
"Little black" after discharge, "doctor" to "small black" from beginning to end washed, clean, even the OS are clear, no way, had to re-give "small black" on the equipment.

As a result of the recent PHP project, search, the main development aids have Zend, PHPEclipse, Emacs, VI, Notepad, because has been accustomed to using eclipse, then let its natural bar, continue to install a PHP plug-in eclipse. But on the eclipse.org also have the next, called Eclipse-php-helios-sr1-win32.zip, Address: http://www.eclipse.org/downloads/packages/ ECLIPSE-PHP-DEVELOPERS/HELIOSSR1.

Next to the "PHP Development Environment Configuration series (a)-apache cannot start (SSL conflict)", in order to release the memory of the brain, continue to write the article "PHP Development Environment Configuration Series (ii)-XDEBUG settings", save for future use.

PHPEclipse after decompression can be used, very convenient, as long as there is syntax highlighting, format, syntax hints, can run Apache. Before the XAMPP, the following to engage Xdebug.

Xdebug is a good east, not quite understand before, always print or echo value out to do debugging (a bit too dirt), now have xdebug,debug up like Java, convenient.

Xdebug version of a lot, open http://xdebug.org/index.php, found that there are 2.2, 2.1 and the relevant RC version, a bit paranoid and do not want to detours, so there is no casual download one on the installation. Take a closer look at the website and find the phrase "If you don ' t know which one need, please refer to the Custom Installation Instructions. ", very good, open this page, follow the requirements of Phpinfo () copy & paste into the form, and then click" Analyse my phpinfo () output ", the page will extract the content you submitted to the specified section, form a 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\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 as per the above steps, visit Phpinfo () again, ctrl+f search Xdebug, you can see the relevant configuration content of Xdebug.

This, the Xdebug configuration is finished, the end of the pack.

This 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.