H
H
hollanditkzn2017-05-24 12:16:34
SSH
hollanditkzn, 2017-05-24 12:16:34

How to install composer via ssh?

My problem is that I can't download the composer using this documentation https://packagist.org. Created a composer.json file in the root folder and threw it into the file

{
    "require": {
        "vendor/package": "1.3.2",
        "vendor/package2": "1.*",
        "vendor/package3": "^2.0.3"
    }
}

And on the command line I wrote this code curl -sS https://getcomposer.org/installer | php
And got curl in response: (23) Failed writing body (0 != 16133)
How to install composer on hosting?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2017-05-24
@webinar

Here are the docks:
https://getcomposer.org/doc/00-intro.md#globally
The user under which you are connecting must have appropriate rights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question