Install Xdebug in Windows

Source: Internet
Author: User

First enter http://xdebug.org/download.php

Find the version in Windows binaries. Note that PHP5.3 requires you to download VC9 php5.2. download other VC6 versions as needed.

Download TS from APACHE server IIS non-TS version

Copy the downloaded DLL to the ext directory under the PHP installation directory. For example, my PHP Directory is d:/php.

Open the php. ini file and add:
[Xdebug]
Zend_extension_ts = "d: // php/ext/php_xdebug-2.1.1-5.2-vc6.dll"
Xdebug. auto_trace = on
Xdebug. collect_params = on
Xdebug. collect_return = on
Xdebug. trace_output_dir = "d:/xdebug"
Xdebug. profiler_enable = on
Xdebug. profiler_output_dir = "d:/xdebug". Note that the xdebug path is changed to your own path.

The Directory d:/xdebug must be created; otherwise, the file will not be generated, and zend_extension_ts must be in the complete path to be valid.

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.