Laravel 5.7 - Installation sous Windows 7 avec proxy
Bonjour,
Je tente d'installer Laravel avec composer mais j'ai des erreurs liées au proxy.
J'obtiens en ligne de commande :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
| php "E:\Sites\composer.phar" diag
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: WARNING
[Composer\Downloader\TransportException] The "http://repo.packagist.org/packages.json" file could not be downloaded (HTTP/1.1 407 Proxy Authentication Required)
Checking https connectivity to packagist: WARNING
[Composer\Downloader\TransportException] The "https://repo.packagist.org/packages.json" file could not be downloaded: failed to open stream: Cannot connect to HTTPS server through proxy
Checking HTTP proxy: FAIL
[Composer\Downloader\TransportException] The "https://repo.packagist.org/packages.json" file could not be downloaded: failed to open stream: Cannot connect to HTTPS server through proxy
Checking HTTP proxy support for request_fulluri: WARNING
Unable to assess the situation, maybe packagist.org is down (The "http://repo.packagist.org/packages.json" file could not be downloaded (HTTP/1.1 407 Proxy Authentication Required))
Checking HTTPS proxy support for request_fulluri: WARNING
Unable to assess the situation, maybe github is down (The "https://api.github.com/repos/Seldaek/jsonlint/zipball/1.0.0" file could not be downloaded: failed to open stream: Cannot connect to HTTPS server through proxy)
Checking github.com rate limit: FAIL
[Composer\Downloader\TransportException] The "https://api.github.com/rate_limit" file could not be downloaded: failed to open stream: Cannot connect to HTTPS server through proxy
Checking disk free space: OK
Checking pubkeys:
Tags Public Key Fingerprint: 57815BA2 .........
Dev Public Key Fingerprint: 4AC45767 .........
OK
Checking composer version:
[Composer\Downloader\TransportException]
The "https://getcomposer.org/versions" file could not be downloaded: failed
to open stream: Cannot connect to HTTPS server through proxy
diagnose |
J'ai fait de nombreuses recherches et défini les variables d'environnement comme préconisé
sous cette forme
Code:
1 2
| set https_proxy="http://proxy_ip:proxy_port"
set http_proxy="http://proxy_ip:proxy_port" |
ou celle-ci
Code:
1 2
| set https_proxy=http://proxy_ip:proxy_port
set http_proxy=http://proxy_ip:proxy_port |
ou encore celle-ci
Code:
1 2
| set HTTPS_PROXY=http://proxy_ip:proxy_port
set HTTP_PROXY=http://proxy_ip:proxy_port |
ou encore celle-ci
Code:
1 2
| set HTTPS_PROXY=http://user:password@proxy_ip:proxy_port
set HTTP_PROXY=http://user:password@proxy_ip:proxy_port |
ou encore celle-ci
Code:
1 2
| set https_proxy=http://user:password@proxy_ip:proxy_port
set http_proxy=http://user:password@proxy_ip:proxy_port |
J'ai changé le mot de passe pour ne pas avoir de souci avec l'encodage des caractères spéciaux.
Rien n'y fait.
Je suis à court de solution.
Qui aurait une idée ?