尝试使用composer安装脚本,但无法安装。安装文档说将内容上传到您的服务器并运行这些命令。
脚本已上传到/ home / example / public_html
1。您需要通过在应用程序的根目录中运行以下命令,在应用程序中安装Composer依赖项。 “ composer安装”
我尝试运行命令“ composer install”,但出现错误
root@vserv:/# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Composer could not find a composer.json file in /
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section