centos7 php开发环境安装-composer
2021-05-03 05:27
标签:think install curl project 修改权限 get pac color php开发 1.安装composer 2.Composer 使用 3.切换国内镜像 4.测试 centos7 php开发环境安装-composer 标签:think install curl project 修改权限 get pac color php开发 原文地址:https://www.cnblogs.com/ddf128/p/12123890.htmlcd /usr/local/src
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
chmod -R 777 /usr/local/bin/composer (错误时修改权限)
composer config -g repo.packagist composer https://packagist.phpcomposer.com
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
composer create-project topthink/think=5.1.* tp5 测试安装tp5
上一篇:开发当中curl简单使用