一个新的开始吗?
今天继续的学习yii。这里我就不先说yii了。我最近一直在寻找一个phpdebug的工具。抑或者性能调试的东东。老是不要满意的找到。这个地方我先使用了firephp..我果真是个粗枝大叶的人。我下载完成了官方的源文件以后,开始尝试着输出数据可是老是不得其法。最终我发现我原来失误了。我错误的觉得firephp使用的就是我以前安装的firefox的firebug.惋惜事实不是这个样子的。实际上安装完成了firebug以后,仍是要安装一个firephp的东东的。以后一切使用正常。
我本地的使用php的环境是window的。我使用的是集成的wamp ,其实挺好用的。已经帮助我安装了xdebug,以及webGrind 我不得不赞一个.以后的对于php.ini中关于xdebug的配置我就抄袭了网上的一段代码。罪过。
[xdebug]
xdebug.remote_enable
= off
xdebug.profiler_enable
= On
xdebug.profiler_enable_trigger
= On
xdebug.profiler_output_name
= cachegrind.out.
%t.
%p
xdebug.profiler_output_dir
=
"d:/wamp/tmp"
xdebug.default_enable
= On
xdebug.show_exception_trace
= On
xdebug.show_local_vars
=
1
xdebug.max_nesting_level
=
50
xdebug.var_display_max_depth
=
6
xdebug.dump_once
= On
xdebug.dump_globals
= On
xdebug.dump_undefined
= On
xdebug.dump.REQUEST
=
*
xdebug.dump.SERVER
= REQUEST_METHOD,REQUEST_URI,HTTP_USER_AGENT
xdebug.trace_format
=
0
xdebug.auto_trace
= On
xdebug.collect_params
=
4
xdebug.collect_includes
= On
xdebug.collect_return
= On
xdebug.show_mem_delta
= On