本文主要讲解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