Skip to content

PHP

PHP安装

Composer

下载地址:https://getcomposer.org/download/

下载phar文件

bash
wget https://getcomposer.org/download/2.5.8/composer.phar
bash
wget https://getcomposer.org/download/2.4.4/composer.phar

复制到指定目录

bash
sudo mv composer.phar /usr/local/bin/composer
chmod +x /usr/local/bin/composer

查看composer版本

bash
composer -V

人生感悟