1.进入Composer国内镜像网站文档页查看安装方法: https://docs.phpcomposer.com/00-intro.html 2.在centOS系统中进入特定目录执行以下命令: cd /usr/local/composer curl -sS https://getcomposer.org/installer | php 注意:该步骤可能遇到以下问题: 2.1.openssl扩展: Some settings on your machine make Composer unabl…