使用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/ 如下效果成功