Ways to add xdebug extensions to PHP

Source: Internet
Author: User
Tags php file

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
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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.