Home >Backend Development >PHP Tutorial >Xdebug installation_PHP tutorial

Xdebug installation_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 17:38:25905browse

Xdebug installation

I am using PHP5.2.5. The downloaded xdebug file is named: php_xdebug-2.0.3-5.2.5.dll. Just put the file in the php/ext folder

3. Configuration

xdebug configuration

Open php.ini

Add the following configuration code to the last line, and the configuration description has been commented

;Load Xdebug
zend_extension_ts="c:/php/ext/php_xdebug.dll"

;xdebug configuration
[Xdebug]
;Turn on automatic tracking
xdebug.auto_trace = On
;Enable exception tracking
xdebug.show_exception_trace = On
;Enable remote debugging to start automatically
xdebug.remote_autostart = On
;Enable remote debugging
xdebug.remote_enable = On
;Collect variables
xdebug.collect_vars = On
;Collect return value
xdebug.collect_return = On
;Collect parameters
xdebug.collect_params = On

Finally I wrote it in PHP.INI

[Zend]
zend_extension_manager.optimizer_ts="f:ServerCorelibOptimizer-3.3.0"
;zend_extension_ts="f:ServerCorelib endExtensionManager.dll"
zend_extension_ts="F:ServerCorePHP5extphp_xdebug.dll"
It was successful, other ways of writing are not good

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486487.htmlTechArticleXdebug installation I use PHP5.2.5 myself, and the downloaded xdebug file name is: php_xdebug-2.0.3- 5.2.5.dll, just put the file in the php/ext folder 3. Configure xdebug configuration and open php.ini...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn