ThinkPHP6安裝

使用國內鏡像:https://docs.phpcomposer.com/

composer config -g repo.packagist composer https://packagist.phpcomposer.com

Linux下出現錯誤:
- topthink/framework v6.0.2 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
安裝:
sudo apt-get install php7.4-mbstring

然後安裝

composer create-project topthink/think tp
 
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章