一旦我将作曲家下载到我的远程网络主机。我尝试运行命令“php composer.phar install”
一旦我按照文档中的说明运行此命令,我就会收到类似 no tomorrow 的错误。
nwrepai1@******** [~/public_html]# php composer.phar install
Content-type: text/html
<br />
<b>Fatal error</b>: Uncaught exception 'ErrorException' with message 'Undefined index: argv' in phar:///home3/nwrepai1/public_html/composer.phar/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php:57
Stack trace:
#0 phar:///home3/nwrepai1/public_html/composer.phar/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php(57): Composer\Util\ErrorHandler::handle(8, 'Undefined index...', 'phar:///home3/n...', 57, Array)
#1 phar:///home3/nwrepai1/public_html/composer.phar/vendor/symfony/console/Symfony/Component/Console/Application.php(98): Symfony\Component\Console\Input\ArgvInput->__construct()
#2 phar:///home3/nwrepai1/public_html/composer.phar/src/Composer/Console/Application.php(74): Symfony\Component\Console\Application->run(NULL, Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 phar:///home3/nwrepai1/public_html/composer.phar/bin/composer(37): Composer\Console\Application->run()
#4 /home3/nwrepai1/public_html/composer.phar(14): require('phar:///home3/n...')
#5 {main}
thrown in <b>phar:///home3/nwrepai1/public_html/composer.phar/vendor/symfony/console/Symfony/Component/Console/Input/ArgvInput.php</b> on line <b>57</b><br />
nwrepai1@********* [~/public_html]#
我在这方面有什么遗漏吗?