D
D
dura2282018-10-03 17:33:00
ubuntu
dura228, 2018-10-03 17:33:00

"Could not open input file: composer.phar" error on ubuntu 16.04?

Composer is installed, but when I write the command

php composer.phar require facebook/webdriver
gives an error message.
Team
php composer.phar install
gives the same error

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
dura228, 2018-10-04
@dura228

wget https://getcomposer.org/composer.phar

S
Sergey Chazov, 2019-04-19
@chazovs

Try linking without php like to executable:
composer require facebook/webdriver

D
Dmitry, 2018-10-03
@slo_nik

You have renamed the file.
So the team must bephp yii composer <name-command>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question