Home >Backend Development >PHP Tutorial >Alibaba Cloud Server PHP Composer installation prompts timeout and other failure information
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.