Home  >  Article  >  Backend Development  >  PHP之Xdebug的配置

PHP之Xdebug的配置

WBOY
WBOYOriginal
2016-06-23 14:31:50829browse

本文主要讲解Windows下PHP 5.3中的Xdebug的配置:

我的配置如下:

[xdebug]
zend_extension = " E:/Program Files/PHP/php_xdebug-2.1.0RC1-5.3-vc6.dll " ;注意这里要用全路径
xdebug.remote_enable = on
xdebug.remote_handler = dbgp
xdebug.remote_host = localhost
xdebug.remote_port = 9000    

注意事项有如下几点:

①:xdebug的版本,要下载正确的版本,VC6的才支持Apache,VC9的是对应的IIS,不要下载错了,

我下载的版本就是对应的PHP的5.3的VC6版本 

②:zend_extension:这里不是  zend_extension_ts 除非你下载的是Apache的非安全线程版本才能用zend_extension_ts

 

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