Ways to add xdebug extensions to PHP

Source: Internet
Author: User

This article mainly introduces the PHP add Xdebug extension method, the need for friends can refer to the

First, download the corresponding DLL two, put the file in the PHP installation directory in the Ext folder in three, modify the php.ini code as follows: [Xdebug] zend_extension=./ext/php_xdebug-2.2.3-5.3-vc9-nts.d ll "; The following is the parameter Xdebug.auto_trace=on xdebug.collect_params=on xdebug.collect_return=on xdebug.trace_output_dir="./xdebug "Xdebug.profiler_enable=on xdebug.profiler_output_dir="./xdebug "Note: xdebug.trace_output_dir="./xdebug "configuration is to put the debug file In the Xdebug folder under the PHP installation directory, create a new Xdebug folder under the PHP installation directory xdebug.profiler_output_dir= the "./xdebug" configuration is to place the debug files in the Xdebug folder under the running project.  So to create a new Xdebug folder in the project directory test the new PHP file code is as follows: <?php Testxdebug ();  function Testxdebug () {require_once (' abc.php '); ?> run to see if the file is generated in the Xdebug folder under the PHP installation directory, and the build file is successfully installed

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.