Bonsoir,
ça fait 3 jours que j'essaie d'installer Composer sous Windows 8 en utilisant la ligne de commande :
Mais je ne parviens toujours pas à le faire à cause de l'erreur suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
Pour information : j'ai activé l'extension SSL de PHP, et allow_url_fopen. mais le problème persiste, j'ai vraiment besoin de cette méthode d'installation car L'IDE Eclipse PDT avec Symfony feature l'utilise pour créer des projet Symfony.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60 C:\Users\Dahim>php -r eval(?>.file_get_contents(https://getco mposer.org/installer)); PHP Warning: file_get_contents(): SSL: LÆopÚration a rÚussi. in Command line code on line 1 PHP Stack trace: PHP 1. {main}() Command line code:0 PHP 2. file_get_contents() Command line code:1 Warning: file_get_contents(): SSL: LÆopÚration a rÚussi. in Command line code on line 1 Call Stack: 0.0003 223184 1. {main}() Command line code:0 0.0004 223896 2. file_get_contents() Command line code:1 PHP Notice: file_get_contents(): send of 25 bytes failed with errno=10054 Une c onnexion existante a d¹ Ûtre fermÚe par lÆh¶te distant. in Command line code on line 1 PHP Stack trace: PHP 1. {main}() Command line code:0 PHP 2. file_get_contents() Command line code:1 Notice: file_get_contents(): send of 25 bytes failed with errno=10054 Une connex ion existante a d¹ Ûtre fermÚe par lÆh¶te distant. in Command line code on line 1 Call Stack: 0.0003 223184 1. {main}() Command line code:0 0.0004 223896 2. file_get_contents() Command line code:1 PHP Notice: file_get_contents(): send of 23 bytes failed with errno=10054 Une c onnexion existante a d¹ Ûtre fermÚe par lÆh¶te distant. in Command line code on line 1 PHP Stack trace: PHP 1. {main}() Command line code:0 PHP 2. file_get_contents() Command line code:1 Notice: file_get_contents(): send of 23 bytes failed with errno=10054 Une connex ion existante a d¹ Ûtre fermÚe par lÆh¶te distant. in Command line code on line 1 Call Stack: 0.0003 223184 1. {main}() Command line code:0 0.0004 223896 2. file_get_contents() Command line code:1 PHP Notice: file_get_contents(): send of 2 bytes failed with errno=10054 Une co nnexion existante a d¹ Ûtre fermÚe par lÆh¶te distant. in Command line code on line 1 PHP Stack trace: PHP 1. {main}() Command line code:0 PHP 2. file_get_contents() Command line code:1 Notice: file_get_contents(): send of 2 bytes failed with errno=10054 Une connexi on existante a d¹ Ûtre fermÚe par lÆh¶te distant. in Command line code on line 1 Call Stack: 0.0003 223184 1. {main}() Command line code:0 0.0004 223896 2. file_get_contents() Command line code:1 PHP Warning: file_get_contents(https://getcomposer.org/installer): failed to op en stream: HTTP request failed! in Command line code on line 1 PHP Stack trace: PHP 1. {main}() Command line code:0 PHP 2. file_get_contents() Command line code:1 Warning: file_get_contents(https://getcomposer.org/installer): failed to open st ream: HTTP request failed! in Command line code on line 1 Call Stack: 0.0003 223184 1. {main}() Command line code:0 0.0004 223896 2. file_get_contents() Command line code:1 C:\Users\Dahim>
Je vous remercie d'avance pour l'aide
Partager