PHP之Xdebug的配置
本文主要讲解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
- 上一篇 »PHP开发之thinkPHP分层设计
- 下一篇 »PHP面试题之优化