参考文档:https://www.kancloud.cn/manual/thinkphp6_0/1037481
一、安装Composer
curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer
二、安装稳定版thinkphp
在WEB的根目录运行以下指令
composer create-project topthink/think tp
报错一:
he Process class relies on proc_open, which is not available on your PHP installation. The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems) Unzip with unzip command failed, falling back to ZipArchive class
报错二:
putenv() has been disabled for security reasons
安装成功!