Home > Backend Development > PHP Tutorial > Alibaba Cloud Server PHP Composer installation prompts timeout and other failure information

Alibaba Cloud Server PHP Composer installation prompts timeout and other failure information

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-29 09:09:43
Original
1937 people have browsed it

When the Alibaba Cloud Server PHP composer installation prompts a timeout and other failure messages, you can use the domestic mirror

to modify the composer's global configuration file (recommended method)

Open the command line window (windows users) or console ( Linux, Mac users) and execute the following command:

<span><code>
composer config -g repositories.packagist composer http://packagist.phpcomposer.com
</code></span>
Copy after login
Modify and then execute
<span><code>composer install --profile --no-dev</code></span>
Copy after login

The above has introduced the Alibaba Cloud server PHP composer installation prompt timeout and other failure information, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
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
Latest Issues
Composer failed to install TP51
From 1970-01-01 08:00:00
0
0
0
PHP study installation composer cannot be used
From 1970-01-01 08:00:00
0
0
0
php - Error using composer
From 1970-01-01 08:00:00
0
0
0
ThinkPHP Why use composer?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template