Home  >  Article  >  Backend Development  >  php的composer的安装步骤

php的composer的安装步骤

WBOY
WBOYOriginal
2016-06-23 13:16:11817browse

来自: http://blog.csdn.net//wgw335363240/article/details/41984341


1.进入要安装composer的目录,如果没有则新建一个目录

 cd :/home/wuguowei/software/composer


2.安装composer

  sudo curl -s https://getcomposer.org/installer | sudo php


3.设置执行权限

   sudo chmod a+x composer.phar


4.更新composer版本

  sudo composer.phar self-update

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn