ISN (International Social Networking Services - Interactive Apps and Websites)



Installing Composer globally on CentOS


System Requirements#

Composer requires PHP 5.3.2+ to run. A few sensitive php settings and compile flags are also required, but when using the installer you will be warned about any incompatibilities.

First, go to the /tmp directory

cd /tmp  

Download the composer.phar file

curl -sS https://getcomposer.org/installer | php  

Move it to /usr/local/bin/

mv composer.phar /usr/local/bin/composer  

now you should be able to use the command composer globally.

By continuing to use this site, you agree to the use of cookies to personalize content and advertisements, to provide social media functionality, to analyze our traffic using Google services like Analytics and Adsense.

Google Adsense and its partners may use your data for advertising personalization and cookies may be used for personalized and non-personalized advertising. How does Google use my data?
Please use the following button to see the list of Google partners as well as all the details regarding cookies.
See detailsI Accept
These cookies are mandatory for the operation of isn-services.com, if you do not accept them please quit this site.
You have the right to refuse cookies and leave the site or to change the parameters.