1.搭建pal环境
教程:http://wiki.babel.baidu.com/twiki/bin/view/Com/Test/PlaceQAPalEnv
问题:503 错误
解决办法: 曲线上把搭建好的环境的配置文件拷贝过来,重新启动,一切搞定.
2.odp的action原理:
class action {
__excute(){} //默认进入excute,将返回值给render.
__render(){}
}
可以这么理解:
calss action {
excute(){
$ret = $this->_excute();
$this->_render($ret);
}
}
所以,一旦execute重写的话, __excute __render将不会被调用.
3.查看某个扩展的配置,不要每次浏览器localhost?
php -r "phpinfo();" | grep xdebug //查看debug扩展的配置
4.