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

WBOY
Release: 2016-07-29 09:09:43
Original
1857 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:
source:php.cn
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!