Home > Development Tools > composer > Graphical steps to introduce Linux installation composer

Graphical steps to introduce Linux installation composer

藏色散人
Release: 2021-09-02 17:56:01
forward
1571 people have browsed it

The following tutorial column of composer will introduce to you how to install composer on Linux. I hope it will be helpful to friends who need it!

Introduction

This article explains how to install and configure composer.

Installation

For installation steps, please refer to composer’s Chinese documentation. Enter curl -sS https://getcomposer.org/installer | php. After the download is completed, mv composer.phar /usr/local/bin/composer can be called globally

Graphical steps to introduce Linux installation composer

An interlude. An error occurred the first time I executed it. It turns out that openssl was not turned on when compiling php. After referring to this article, I found that it still didn’t work! I continued to search for information, but still to no avail. This is not easy to solve. I suddenly thought that the php.ini configuration file did not take effect. This is really the problem. The php.ini file location displayed in phpinfo() is not the php.ini location that I modified. Well, just cp and go there.

Graphical steps to introduce Linux installation composer

Modify the Chinese image

After changing to the Chinese image, the speed will be very fast. Refer to the article and enter composer config -g repo.packagist composer https://packagist.phpcomposer.com.

The above is the detailed content of Graphical steps to introduce Linux installation composer. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template