Composer issues when installing Lavarel globally

Source: Internet
Author: User
Tags autoloader hosting
The system is centos6.5

[Root@memda www]# composer Global require "laravel/installer=~1.1" Changed current directory to/root/.composer./ Composer.json have been createdloading composer repositories with package informationupdating dependencies (including requ Ire-dev)-Installing symfony/process (v3.1.3) downloading:failed downloading:failed downloading : Failed Failed to download symfony/process from dist:the "Https://api.github.com/repos/symfony/process/zipball /04c2dfaae4ec56a5c677b0c69fac34637d815758 "file could not being downloaded:failed to open Stream:no route to host now TR Ying to download from source-installing symfony/process (v3.1.3) Cloning 04c2dfaae4ec56a5c677b0c69fac34637d815758ins Tallation failed, deleting./composer.json.the disk Hosting/root/.composer is full, this could be the cause of the Followin                                                                                                                                           G exception [RuntimEexception]                                               Failed to clone https://github.com/symfony/process.git via HTTPS, SSH protocols, aborting.                                                                                                   -Https://github.com/symfony/process.git Error:failed Connect to github.com:443;                                                                                                                                               Operation now in progress while accessing https://github.com/symfony/process.git/info/refs  Fatal:http                                                                                                             Request failed                                                                                                       -Git@github.com:symfony/process.git Ssh:connect to host github.com Port 22:no roUte to host fatal:the remote end hung up u                                                                                                                                                                                                                                    nexpectedly Requi Re [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [-- Update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|-- Classmap-authoritative] [--] [] ...

There will always be a symfony/process download failure process, and completely find out why, crying and crying cry ...

Reply content:

The system is centos6.5

[Root@memda www]# composer Global require "laravel/installer=~1.1" Changed current directory to/root/.composer./ Composer.json have been createdloading composer repositories with package informationupdating dependencies (including requ Ire-dev)-Installing symfony/process (v3.1.3) downloading:failed downloading:failed downloading : Failed Failed to download symfony/process from dist:the "Https://api.github.com/repos/symfony/process/zipball /04c2dfaae4ec56a5c677b0c69fac34637d815758 "file could not being downloaded:failed to open Stream:no route to host now TR Ying to download from source-installing symfony/process (v3.1.3) Cloning 04c2dfaae4ec56a5c677b0c69fac34637d815758ins Tallation failed, deleting./composer.json.the disk Hosting/root/.composer is full, this could be the cause of the Followin                                                                                                                                           G exception [RuntimEexception]                                               Failed to clone https://github.com/symfony/process.git via HTTPS, SSH protocols, aborting.                                                                                                   -Https://github.com/symfony/process.git Error:failed Connect to github.com:443;                                                                                                                                               Operation now in progress while accessing https://github.com/symfony/process.git/info/refs  Fatal:http                                                                                                             Request failed                                                                                                       -Git@github.com:symfony/process.git Ssh:connect to host github.com Port 22:no roUte to host fatal:the remote end hung up u                                                                                                                                                                                                                                    nexpectedly Requi Re [--dev] [--prefer-source] [--prefer-dist] [--no-plugins] [--no-progress] [--no-update] [--update-no-dev] [-- Update-with-dependencies] [--ignore-platform-reqs] [--sort-packages] [-o|--optimize-autoloader] [-a|-- Classmap-authoritative] [--] [] ...

There will always be a symfony/process download failure process, and completely find out why, crying and crying cry ...

Solve yourself, forget to modify the global configuration of composer, mirror or to use the domestic mirror,
Composer Config-g Repo.packagist composer Https://packagist.phpcomposer ...
So stupid!

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.