IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

EDI, CMS, Outils, Scripts et API PHP Discussion :

Erreur Insatallation de Composer sous Windows


Sujet :

EDI, CMS, Outils, Scripts et API PHP

  1. #1
    Futur Membre du Club
    Inscrit en
    Décembre 2007
    Messages
    13
    Détails du profil
    Informations forums :
    Inscription : Décembre 2007
    Messages : 13
    Points : 9
    Points
    9
    Par défaut Erreur Insatallation de Composer sous Windows
    Bonsoir,

    ça fait 3 jours que j'essaie d'installer Composer sous Windows 8 en utilisant la ligne de commande :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"
    Mais je ne parviens toujours pas à le faire à cause de l'erreur suivante :

    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>
    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.

    Je vous remercie d'avance pour l'aide

  2. #2
    Expert confirmé Avatar de papajoker
    Homme Profil pro
    Développeur Web
    Inscrit en
    Septembre 2013
    Messages
    2 206
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Nièvre (Bourgogne)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Septembre 2013
    Messages : 2 206
    Points : 4 680
    Points
    4 680
    Par défaut
    l'erreur 10054 avec recherche sur web
    vient de ta machine (ton routeur?)
    http://support.microsoft.com/kb/981344/fr

    download le manuellement , tu copies le fichier.phar au bon endroit
    et si c'est un script que tu exécutes, met en commentaire cette ligne.

    mais tu risques la même erreur a chaque utilisation de composer

  3. #3
    Futur Membre du Club
    Inscrit en
    Décembre 2007
    Messages
    13
    Détails du profil
    Informations forums :
    Inscription : Décembre 2007
    Messages : 13
    Points : 9
    Points
    9
    Par défaut Pilote TDI
    En fait en désinstallant l'antivirus : Eset Smart Security, tout fonctionne normalement et j'ai réussi à installer composer comme voulu.
    C'est fort probable que l'antivirus installe un Pilote TDI qui empêche ce genre de communication.
    Merci PapaJoker pour l'aide

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. plantage VB6 lorsqu'on ajoute un composant (Sous Windows 7)
    Par orsatus dans le forum VB 6 et antérieur
    Réponses: 7
    Dernier message: 04/06/2012, 09h04
  2. [Débutant] Ajouter un composant sous Windows Server 2003 en VB.Net
    Par Ludo345 dans le forum VB.NET
    Réponses: 4
    Dernier message: 19/10/2011, 08h41
  3. [XPCOM] Compiler un composant sous windows?
    Par nramariavelo dans le forum Autres langages pour le Web
    Réponses: 4
    Dernier message: 19/03/2007, 10h44
  4. Erreur IDE Delphi 7 sous Windows 2003
    Par dd16 dans le forum Delphi
    Réponses: 1
    Dernier message: 20/12/2006, 10h00

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo