PHP 应用程序显示有关供应商库的错误

PHP app displays error about vendor libraries

我正在尝试在一个子域上安装一个名为 CollectiveAccess 的应用程序,当我进入该网站时,它弹出一个错误。

Your installation is missing required vendor libraries

它有自动安装或更改它们的选项,但是当我单击更改它们时,它会弹出另一个错误:

Automatic installation of the required vendor libraries failed: Composer installation failed: Error in argument 1, char 2: option not found r; Usage: php-cgi [-q] [-h] [-s] [-v] [-i] [-f ]; php-cgi [args...]; -a Run interactively; -b | Bind Path for external FASTCGI Server mode; -C Do not chdir to the script's directory; -c | Look for php.ini file in this directory; -n No php.ini file will be used; -d foo[=bar] Define INI entry foo with value 'bar'; -e Generate extended information for debugger/profiler; -f Parse . Implies `-q'; -h This help; -i PHP information; -l Syntax check only (lint); -m Show compiled in modules; -q Quiet-mode. Suppress HTTP Header output.; -s Display colour syntax highlighted source.; -v Version number; -w Display source with stripped comments and whitespace.; -z Load Zend extension .; -T Measure execution time of script repeated times.; Error in argument 1, char 2: option not found r; ERROR: Invalid installer signature

求助!!其他地方没有任何信息。

Composer 的哈希会定期更改。您可能有一个安装程序脚本正在检查的硬编码散列,它与给定的不匹配。尝试在此处阅读有关如何以编程方式安装的文档:https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md