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
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
作者:OUZI(connoryan)
出处:http://www.cnblogs.com/ouzi/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。