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
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-07-29 09:09:431937browse

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>
Modify and then execute
<span><code>composer install --profile --no-dev</code></span>

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.

Statement:
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