最近要用php做点东西,以前没接触过php,现在使用netbeans+nignix搭建调试环境
网上搜到的配置信息:
[Xdebug]
zend_extension_ts="d:/opt/php/ext/php_xdebug-2.1.0-5.2-vc6.dll"
xdebug.remote_enable=on
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9001
xdebug.auto_trace=on
xdebug.collect_params=on
xdebug.collect_return=on
xdebug.trace_output_dir="d:/opt/php/xdebug”
xdebug.profiler_enable=on
xdebug.profiler_output_dir="d:/opt/php/xdebug”
这里注意的地方
1.最好下载php_xdebug-2.1.0-5.2-vc6.dll,而不要下载后面带有nts的那种。
2.就是端口号使用9001,因为php使用的是9000,否则会出现php5****.dll缺少之类的错误
3.其他的参数代表的含义可以自行查看网上的其他人的