使用Git安装thinkPHP:
1 git clone https://gitee.com/liu21st/thinkphp5.git tp5 ;
clone thinkPHP的基础框架 ,tp5为文件名字。
2 切换到tp5目录下在命令行中使用
3 git clone https://gitee.com/liu21st/framework.git thinkphp
4 git checkout 5.1 检查更新为5.1
要把thinkPHP框架放到apche服务器的ServerRoot 目录下
访问http://localhost/thinkphp/public/ 如下效果成功