PHP Program debug: Xdebug Configuration

Source: Internet
Author: User

How to debug PHP like a Java program in PHPEclipse?

The version number of Xdebug is very numerous, open http://xdebug.org/index.php. Take a closer look at the site and you will find the phrase "If you don ' t know which one need, please refer to the Custom installation instructions." Open this page, copy & paste the contents of phpinfo () into the form as required, then click "Analyse my phpinfo () output" and the page will extract the specified part of the content you submitted. 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

Write a test.php. The content is <?php phpinfo ();, assuming that the output is in the contents of the Xdebug, indicating that the installation configuration was successful


PHP Program debug: Xdebug Configuration

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.