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

Symfony PHP Discussion :

Impossible d'utiliser symfony sous windows


Sujet :

Symfony PHP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Février 2012
    Messages
    10
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2012
    Messages : 10
    Par défaut Impossible d'utiliser symfony sous windows
    Bonjour
    Je souhaite utiliser symfony sous windows dans le cadre de mes études.
    J'ai suivi les conseils de ce tuto : http://www.6ma.fr/tuto/symfony+avec+wamp-456
    et de celui-ci : http://trac.symfony-project.org/wiki...WampEnFrancais

    Tout se passe bien et j'ai respecté chaque consigne : je lance donc le lien final sous google chrome : http://localhost/mon_projet/web/index.php (pour ma part)

    La réponse de chrome est :
    Page Web inaccessible
    La connexion à localhost a été interrompue.
    Voici quelques suggestions :
    Actualisez cette page Web ultérieurement.
    Vérifiez votre connexion Internet. Redémarrez votre routeur, votre modem ou tout autre périphérique réseau que vous utilisez.
    Ajoutez Google Chrome aux programmes autorisés dans les paramètres de votre pare-feu ou de votre antivirus. S'il est déjà autorisé, supprimez-le de la liste des programmes autorisés et ajoutez-le à nouveau.
    Si vous utilisez un serveur proxy, vérifiez vos paramètres de proxy ou contactez votre administrateur réseau pour vérifier que le serveur proxy fonctionne. Si vous ne pensez pas devoir utiliser de serveur proxy, réglez vos paramètres de proxy : Accédez au menu Clé à molette > Options > Options avancées > Modifier les paramètres du proxy... > Paramètres réseau et désélectionnez l'option "Utiliser un serveur proxy pour votre réseau local"..
    Erreur 101 (net::ERR_CONNECTION_RESET) : La connexion a été réinitialisée.
    L'erreur 101 me rappelle le bug avec mysql_close() mais il semblait que ce bug était corrigé depuis longtemps avec les nouvelles versions de wampserver...
    Donc je n'ai aucune idée d'où vient ce problème, est-ce que quelqu'un aurait un début de piste pour trouver une solution ?
    Je vous remercie d'avance pour notre aide

    Pour info :
    Apache 2.2.21
    PHP 5.3.9
    MYSQL 5.5.20
    WAMPSERVER 2.2
    SYMFONY 1.4.16

  2. #2
    Membre éclairé
    Inscrit en
    Juin 2006
    Messages
    534
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 534
    Par défaut
    WAMPSERVER 2.2 plante sur 2 bécanes chez moi.
    essaye de lancer wamp 2.1 pour voir (désinstalle totalement 2.2 avant)

  3. #3
    Membre régulier
    Profil pro
    Inscrit en
    Février 2012
    Messages
    10
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2012
    Messages : 10
    Par défaut
    Des sites que je développe en localhost ont l'air de marcher mais peut-être qu'il y a des discordes avec symfony.

    J'essaye tout de suite

  4. #4
    Membre régulier
    Profil pro
    Inscrit en
    Février 2012
    Messages
    10
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2012
    Messages : 10
    Par défaut
    J'ai un problème avec le point 12, pear ne trouve pas d'adresse pour son installation...

    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
     
    Microsoft Windows [version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
     
    C:\Windows\system32>cd..
     
    C:\Windows>cd..
     
    C:\>cd wamp
     
    C:\wamp>cd bin
     
    C:\wamp\bin>cd php
     
    C:\wamp\bin\php>cd php5.3.5
     
    C:\wamp\bin\php\php5.3.5>go-pear.bat
     
    Are you installing a system-wide PEAR or a local copy?
    (system|local) [system] :
     
    Below is a suggested file layout for your new PEAR installation.  To
    change individual locations, type the number in front of the
    directory.  Type 'all' to change all of them or simply press Enter to
    accept these locations.
     
     1. Installation base ($prefix)                   : C:\wamp\bin\php\php5.3.5
     2. Temporary directory for processing            : C:\wamp\bin\php\php5.3.5\tmp
     
     3. Temporary directory for downloads             : C:\wamp\bin\php\php5.3.5\tmp
     
     4. Binaries directory                            : C:\wamp\bin\php\php5.3.5
     5. PHP code directory ($php_dir)                 : C:\wamp\bin\php\php5.3.5\pea
    r
     6. Documentation directory                       : C:\wamp\bin\php\php5.3.5\doc
    s
     7. Data directory                                : C:\wamp\bin\php\php5.3.5\dat
    a
     8. User-modifiable configuration files directory : C:\wamp\bin\php\php5.3.5\cfg
     
     9. Public Web Files directory                    : C:\wamp\bin\php\php5.3.5\www
     
    10. Tests directory                               : C:\wamp\bin\php\php5.3.5\tes
    ts
    11. Name of configuration file                    : C:\wamp\bin\php\php5.3.9\pea
    r.ini
    12. Path to CLI php.exe                           :
     
    1-12, 'all' or Enter to continue:
    EDIT : réponse trouvée ici ! http://phphints.wordpress.com/2008/0...nager-on-wamp/

  5. #5
    Membre régulier
    Profil pro
    Inscrit en
    Février 2012
    Messages
    10
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2012
    Messages : 10
    Par défaut
    Je ne sais pas si j'ai mal installé ou quoi mais j'ai de belles erreurs sur ces deux commandes :

    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
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    C:\wamp\bin\php\php5.3.5>go-pear.bat
     
    Are you installing a system-wide PEAR or a local copy?
    (system|local) [system] :
     
    Below is a suggested file layout for your new PEAR installation.  To
    change individual locations, type the number in front of the
    directory.  Type 'all' to change all of them or simply press Enter to
    accept these locations.
     
     1. Installation base ($prefix)                   : C:\wamp\bin\php\php5.3.5
     2. Temporary directory for processing            : C:\wamp\bin\php\php5.3.5\tmp
     
     3. Temporary directory for downloads             : C:\wamp\bin\php\php5.3.5\tmp
     
     4. Binaries directory                            : C:\wamp\bin\php\php5.3.5
     5. PHP code directory ($php_dir)                 : C:\wamp\bin\php\php5.3.5\pea
    r
     6. Documentation directory                       : C:\wamp\bin\php\php5.3.5\doc
    s
     7. Data directory                                : C:\wamp\bin\php\php5.3.5\dat
    a
     8. User-modifiable configuration files directory : C:\wamp\bin\php\php5.3.5\cfg
     
     9. Public Web Files directory                    : C:\wamp\bin\php\php5.3.5\www
     
    10. Tests directory                               : C:\wamp\bin\php\php5.3.5\tes
    ts
    11. Name of configuration file                    : C:\wamp\bin\php\php5.3.5\pea
    r.ini
    12. Path to CLI php.exe                           : C:\wamp\bin\php\php5.3.5
     
    1-12, 'all' or Enter to continue:
    Beginning install...
    Configuration written to C:\wamp\bin\php\php5.3.5\pear.ini...
    Initialized registry...
    Preparing to install...
    installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarbal
    ls/Archive_Tar-1.3.3.tar...
    installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarbal
    ls/Console_Getopt-1.2.3.tar...
    installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarbal
    ls/PEAR-1.8.0.tar...
    installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarbal
    ls/Structures_Graph-1.0.2.tar...
    installing phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/go-pear-tarbal
    ls/XML_Util-1.2.1.tar...
    install ok: channel://pear.php.net/Archive_Tar-1.3.3
    install ok: channel://pear.php.net/Console_Getopt-1.2.3
    ERROR: unable to unpack phar://C:/wamp/bin/php/php5.3.5/PEAR/go-pear.phar/PEAR/g
    o-pear-tarballs/Structures_Graph-1.0.2.tar
    install ok: channel://pear.php.net/XML_Util-1.2.1
    install ok: channel://pear.php.net/PEAR-1.8.0
    PEAR: Optional feature webinstaller available (PEAR's web-based installer)
    PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
    PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
     
    PEAR: To install optional features use "pear install pear/PEAR#featurename"
     
    ** WARNING! Old version found at C:\wamp\bin\php\php5.3.5, please remove it or b
    e sure to use the new c:\wamp\bin\php\php5.3.5\pear.bat command
     
    The 'pear' command is now at your service at c:\wamp\bin\php\php5.3.5\pear.bat
     
     
    * WINDOWS ENVIRONMENT VARIABLES *
    For convenience, a REG file is available under C:\wamp\bin\php\php5.3.5\PEAR_ENV
    .reg .
    This file creates ENV variables for the current user.
     
    Double-click this file to add it to the current user registry.
     
    Appuyez sur une touche pour continuer...
    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
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    C:\wamp\bin\php\php5.3.5>pear upgrade PEAR
    downloading PEAR-1.9.4.tgz ...
    Starting to download PEAR-1.9.4.tgz (296,332 bytes)
    .............................................................done: 296,332 bytes
     
    downloading Archive_Tar-1.3.8.tgz ...
    Starting to download Archive_Tar-1.3.8.tgz (17,995 bytes)
    ...done: 17,995 bytes
    downloading Structures_Graph-1.0.4.tgz ...
    Starting to download Structures_Graph-1.0.4.tgz (30,318 bytes)
    ...done: 30,318 bytes
    downloading Console_Getopt-1.3.1.tgz ...
    Starting to download Console_Getopt-1.3.1.tgz (4,471 bytes)
    ...done: 4,471 bytes
     
    Warning: require_once(Structures/Graph.php): failed to open stream: No such file
     or directory in PEAR\Downloader.php on line 1217
    PHP Warning:  require_once(Structures/Graph.php): failed to open stream: No such
     file or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line
    1217
    PHP Stack trace:
    PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
    8
    PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
    mmand\Common.php:271
    PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
    \PEAR\Command\Install.php:700
     
    Warning: require_once(Structures/Graph.php): failed to open stream: No such file
     or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line 1217
     
    Call Stack:
        0.0012     534496   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
        0.0501    3481840   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
    EAR\pearcmd.php:308
        0.0501    3481840   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
    5.3.5\PEAR\PEAR\Command\Common.php:271
        1.7975   10027968   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
    \php\php5.3.5\PEAR\PEAR\Command\Install.php:700
     
    PHP Fatal error:  require_once(): Failed opening required 'Structures/Graph.php'
     (include_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR
    \PEAR\Downloader.php on line 1217
    PHP Stack trace:
    PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
    8
    PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
    mmand\Common.php:271
    PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
    \PEAR\Command\Install.php:700
     
    Fatal error: require_once(): Failed opening required 'Structures/Graph.php' (inc
    lude_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR\PEAR
    \Downloader.php on line 1217
     
    Call Stack:
        0.0012     534496   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
        0.0501    3481840   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
    EAR\pearcmd.php:308
        0.0501    3481840   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
    5.3.5\PEAR\PEAR\Command\Common.php:271
        1.7975   10027968   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
    \php\php5.3.5\PEAR\PEAR\Command\Install.php:700
     
     
    C:\wamp\bin\php\php5.3.5>pear install symfony/symfony
    downloading symfony-1.4.16.tgz ...
    Starting to download symfony-1.4.16.tgz (3,187,518 bytes)
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    ................................................................................
    .............done: 3,187,518 bytes
     
    Warning: require_once(Structures/Graph.php): failed to open stream: No such file
     or directory in PEAR\Downloader.php on line 1217
    PHP Warning:  require_once(Structures/Graph.php): failed to open stream: No such
     file or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line
    1217
    PHP Stack trace:
    PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
    8
    PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
    mmand\Common.php:271
    PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
    \PEAR\Command\Install.php:700
     
    Warning: require_once(Structures/Graph.php): failed to open stream: No such file
     or directory in C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Downloader.php on line 1217
     
    Call Stack:
        0.0012     534504   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
        0.0501    3481936   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
    EAR\pearcmd.php:308
        0.0501    3481936   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
    5.3.5\PEAR\PEAR\Command\Common.php:271
        6.1059   12480392   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
    \php\php5.3.5\PEAR\PEAR\Command\Install.php:700
     
    PHP Fatal error:  require_once(): Failed opening required 'Structures/Graph.php'
     (include_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR
    \PEAR\Downloader.php on line 1217
    PHP Stack trace:
    PHP   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
    PHP   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:30
    8
    PHP   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php5.3.5\PEAR\PEAR\Co
    mmand\Common.php:271
    PHP   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin\php\php5.3.5\PEAR
    \PEAR\Command\Install.php:700
     
    Fatal error: require_once(): Failed opening required 'Structures/Graph.php' (inc
    lude_path='C:\wamp\bin\php\php5.3.5\pear') in C:\wamp\bin\php\php5.3.5\PEAR\PEAR
    \Downloader.php on line 1217
     
    Call Stack:
        0.0012     534504   1. {main}() C:\wamp\bin\php\php5.3.5\PEAR\pearcmd.php:0
        0.0501    3481936   2. PEAR_Command_Common->run() C:\wamp\bin\php\php5.3.5\P
    EAR\pearcmd.php:308
        0.0501    3481936   3. PEAR_Command_Install->doInstall() C:\wamp\bin\php\php
    5.3.5\PEAR\PEAR\Command\Common.php:271
        6.1059   12480392   4. PEAR_Downloader->sortPackagesForInstall() C:\wamp\bin
    \php\php5.3.5\PEAR\PEAR\Command\Install.php:700
     
     
    C:\wamp\bin\php\php5.3.5>
    Je suis perdu, qu'en pensez-vous ?

  6. #6
    Membre émérite Avatar de kenny.kev
    Homme Profil pro
    Inscrit en
    Janvier 2007
    Messages
    646
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Indre et Loire (Centre)

    Informations professionnelles :
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Janvier 2007
    Messages : 646
    Par défaut
    Salut à toi,

    Alors pas tu n'as pas de chance avec la 1.4 il ne faut pas faire ce tuto.
    J'utilise la dernière version de WampServer et j'ai pas de problème par contre je suis sous XP, c'est peut être pour ça que ça ne fonctionne pas.

    Pour l'installation tu télécharge la sendbox et ensuite tu suis le tuto symfony pour l'installation.

    Pour mettre en place php-cli voici un lien http://vpicot.fr/tutoriels/14-instal...ny-12-sur-wamp tu t'arrête juste avant intaller symfony 1.2

Discussions similaires

  1. Utiliser crypt() sous windows
    Par Samyhijodelaluna dans le forum C
    Réponses: 2
    Dernier message: 30/12/2006, 15h58
  2. Utiliser FPING sous WINDOWS
    Par TigreRouge dans le forum Programmation et administration système
    Réponses: 7
    Dernier message: 28/04/2006, 10h03
  3. Utiliser FD_SET sous Windows sur l'entré STDIN ?
    Par MonsieurAk dans le forum Windows
    Réponses: 6
    Dernier message: 09/12/2005, 20h45

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