Answer the question
In order to leave comments, you need to log in
Installing composer on Linux?
Hello.
As an OS - Mageia 4. When installing composer, I go to the project folder and type: curl -sS getcomposer.org/installer | php
In the console after that appears:
#!/usr/bin/env php
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The phar extension is missing.
Install it or recompile php without --disable-phar
Please tell me what I'm doing wrong.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Well, the terminal wrote to you
The phar extension is missing.
Install it or recompile php without --disable-phar
What's not clear here?
I installed it on Debiane like this:
apt-get install curl
curl -s http://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
composer ....
Everything turned out to be simple - it was necessary to install the phar extension
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question