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

  1. #1
    Candidat au Club
    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
    Points : 3
    Points
    3
    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 habitué
    Inscrit en
    Juin 2006
    Messages
    534
    Détails du profil
    Informations forums :
    Inscription : Juin 2006
    Messages : 534
    Points : 178
    Points
    178
    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
    Candidat au Club
    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
    Points : 3
    Points
    3
    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
    Candidat au Club
    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
    Points : 3
    Points
    3
    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
    Candidat au Club
    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
    Points : 3
    Points
    3
    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 éclairé Avatar de kenny.kev
    Homme Profil pro
    Inscrit en
    Janvier 2007
    Messages
    646
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Indre et Loire (Centre)

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

    Informations forums :
    Inscription : Janvier 2007
    Messages : 646
    Points : 816
    Points
    816
    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

  7. #7
    Candidat au Club
    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
    Points : 3
    Points
    3
    Par défaut
    J'ai tenté ton tuto mais à un moment il indique :
    /!\ ATTENTION, L'installation de PEAR ne fonctionne pas avec PHP 5.3.0.
    Utiliser le menu contextuel de Wamp pour installer la version 5.2.11 de PHP.
    Je suis a php 5.3.9, cela va créer des erreurs non ?
    C'est quoi la sendbox ?

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

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

    Informations forums :
    Inscription : Janvier 2007
    Messages : 646
    Points : 816
    Points
    816
    Par défaut
    Oui tout à fait il faut l'installer avec la version php 5.2.11 car si je ne me trompe pas pear n'est plus maintenue sous windows. (cela n'empêche pas utilisation de php 5.3)

    sandbox c'est ça : http://www.symfony-project.org/installation/1_4

  9. #9
    Candidat au Club
    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
    Points : 3
    Points
    3
    Par défaut
    Ok donc :

    j'ai téléchargé et installé le dernier wampserver mais en version 32 bits(car les versions de php 5.2.* ne s'installe pas sur les version 64bits)

    j'ai installé la version 5.2.9 de PHP, la seule plus récente que j'a trouvé pour wampserver

    en effet il y avait le dossier PEAR et j'ai réalisé son installation : normalement tout doit marcher car il n'y a pas eu d'erreur lors de l'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
    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
    131
    132
    133
    134
    135
    136
    137
    138
    139
    c:\wamp\bin\php\php5.2.9>cd PEAR
     
    c:\wamp\bin\php\php5.2.9\PEAR>php go-pear.phar
     
    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.2.9\PEA
    R
     2. Temporary directory for processing            : c:\wamp\bin\php\php5.2.9\PEA
    R\tmp
     3. Temporary directory for downloads             : c:\wamp\bin\php\php5.2.9\PEA
    R\tmp
     4. Binaries directory                            : c:\wamp\bin\php\php5.2.9\PEA
    R
     5. PHP code directory ($php_dir)                 : c:\wamp\bin\php\php5.2.9\PEA
    R\pear
     6. Documentation directory                       : c:\wamp\bin\php\php5.2.9\PEA
    R\docs
     7. Data directory                                : c:\wamp\bin\php\php5.2.9\PEA
    R\data
     8. User-modifiable configuration files directory : c:\wamp\bin\php\php5.2.9\PEA
    R\cfg
     9. Public Web Files directory                    : c:\wamp\bin\php\php5.2.9\PEA
    R\www
    10. Tests directory                               : c:\wamp\bin\php\php5.2.9\PEA
    R\tests
    11. Name of configuration file                    : C:\wamp\bin\php\php5.3.9\pea
    r.ini
    12. Path to CLI php.exe                           : C:\wamp\bin\php\php5.3.9
     
    1-12, 'all' or Enter to continue: 11
    (Use $prefix as a shortcut for 'c:\wamp\bin\php\php5.2.9\PEAR', etc.)
    Name of configuration file [C:\wamp\bin\php\php5.3.9\pear.ini] : C:\Windows\pear
    .ini
     
    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.2.9\PEA
    R
     2. Temporary directory for processing            : c:\wamp\bin\php\php5.2.9\PEA
    R\tmp
     3. Temporary directory for downloads             : c:\wamp\bin\php\php5.2.9\PEA
    R\tmp
     4. Binaries directory                            : c:\wamp\bin\php\php5.2.9\PEA
    R
     5. PHP code directory ($php_dir)                 : c:\wamp\bin\php\php5.2.9\PEA
    R\pear
     6. Documentation directory                       : c:\wamp\bin\php\php5.2.9\PEA
    R\docs
     7. Data directory                                : c:\wamp\bin\php\php5.2.9\PEA
    R\data
     8. User-modifiable configuration files directory : c:\wamp\bin\php\php5.2.9\PEA
    R\cfg
     9. Public Web Files directory                    : c:\wamp\bin\php\php5.2.9\PEA
    R\www
    10. Tests directory                               : c:\wamp\bin\php\php5.2.9\PEA
    R\tests
    11. Name of configuration file                    : C:\Windows\pear.ini
    12. Path to CLI php.exe                           : C:\wamp\bin\php\php5.3.9
     
    1-12, 'all' or Enter to continue:
    Beginning install...
    Configuration written to C:\Windows\pear.ini...
    Initialized registry...
    Preparing to install...
    installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.2.tar...
    installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.3.tar...
     
    installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.7.2.tar...
    installing phar://go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.0.2.tar.
    ..
    pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
    install ok: channel://pear.php.net/Archive_Tar-1.3.2
    install ok: channel://pear.php.net/Console_Getopt-1.2.3
    install ok: channel://pear.php.net/Structures_Graph-1.0.2
    install ok: channel://pear.php.net/PEAR-1.7.2
    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!  The include_path defined in the currently used php.ini does not
    contain the PEAR PHP directory you just specified:
    <c:\wamp\bin\php\php5.2.9\PEAR\pear>
    If the specified directory is also not in the include_path used by
    your scripts, you will have problems getting any PEAR packages working.
     
     
    Would you like to alter php.ini <C:\wamp\bin\php\php5.2.9\php.ini>? [Y/n] : Y
     
    php.ini <C:\wamp\bin\php\php5.2.9\php.ini> include_path updated.
     
    Current include path           : .;C:\php5\pear
    Configured directory           : c:\wamp\bin\php\php5.2.9\PEAR\pear
    Currently used php.ini (guess) : C:\wamp\bin\php\php5.2.9\php.ini
    Press Enter to continue:
     
    ** WARNING! Old version found at c:\wamp\bin\php\php5.2.9\PEAR, please remove it
     or be sure to use the new c:\wamp\bin\php\php5.2.9\pear\pear.bat command
     
    The 'pear' command is now at your service at c:\wamp\bin\php\php5.2.9\pear\pear.
    bat
     
    ** The 'pear' command is not currently in your PATH, so you need to
    ** use 'c:\wamp\bin\php\php5.2.9\pear\pear.bat' until you have added
    ** 'c:\wamp\bin\php\php5.2.9\PEAR' to your PATH environment variable.
     
    Run it without parameters to see the available actions, try 'pear list'
    to see what packages are installed, or 'pear help' for help.
     
    For more information about PEAR, see:
     
      http://pear.php.net/faq.php
      http://pear.php.net/manual/
     
    Thanks for using go-pear!
     
     
     
    * WINDOWS ENVIRONMENT VARIABLES *
    For convenience, a REG file is available under c:\wamp\bin\php\php5.2.9\PEAR\PEA
    R_ENV.reg .
    This file creates ENV variables for the current user.
     
    Double-click this file to add it to the current user registry.
     
     
    c:\wamp\bin\php\php5.2.9\PEAR>
    Le fichier PEAR_ENV contient les informations suivantes :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    REGEDIT4
    [HKEY_CURRENT_USER\Environment]
    "PHP_PEAR_SYSCONF_DIR"="c:\\wamp\\bin\\php\\php5.2.9\\PEAR"
    "PHP_PEAR_INSTALL_DIR"="c:\\wamp\\bin\\php\\php5.2.9\\PEAR\\pear"
    "PHP_PEAR_DOC_DIR"="c:\\wamp\\bin\\php\\php5.2.9\\PEAR\\docs"
    "PHP_PEAR_BIN_DIR"="c:\\wamp\\bin\\php\\php5.2.9\\PEAR"
    "PHP_PEAR_DATA_DIR"="c:\\wamp\\bin\\php\\php5.2.9\\PEAR\\data"
    "PHP_PEAR_PHP_BIN"="C:\\wamp\\bin\\php\\php5.2.9\\php.exe"
    "PHP_PEAR_TEST_DIR"="c:\\wamp\\bin\\php\\php5.2.9\\PEAR\\tests"
    Normalement tous les liens sont bons. Vous pouvez donc vérifier que l'installation est bonne.

    Par contre je ne comprend pas le fonctionnement de la Sandbox
    j'avais l'habitude de faire ces deux commandes pour installer symfony :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    pear channel-discover pear.symfony-project.com
    pear install symfony/symfony
    Mais tu me proposes peut-être une bonne alternative, peux-tu m'en dire plus sur ta manière de procéder ?

    En tout cas, merci pour l'aide apportée jusqu'ici

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

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

    Informations forums :
    Inscription : Janvier 2007
    Messages : 646
    Points : 816
    Points
    816
    Par défaut
    tu n'as pas d'installation particulière à faire.

    Tu le télécharge, tu le dé-zippe et tu crées le Vhost dessus et tout fonctionne.

    Ces deux commandes sont pour la version 1.2 de symfony avec la version 1.4 comme écrit dans le lien fournit c'est non recommandé car il n'y a plus de unfreeze pour "packager" ton projet.

  11. #11
    Candidat au Club
    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
    Points : 3
    Points
    3
    Par défaut
    Citation Envoyé par kenny.kev Voir le message
    tu crées le Vhost dessus et tout fonctionne.
    J'ai dézippé, j'ai du mal a comprendre le Vhost ?
    Ou je place le ficher et quelle commande j'utilise pour initialiser un projet symfony ? (pour cette méthode je parle)
    Je suis désolé, je n'ai vraiment pas l'habitude
    Merci pour ton aide

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

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

    Informations forums :
    Inscription : Janvier 2007
    Messages : 646
    Points : 816
    Points
    816
    Par défaut
    Alors je crois que tu crois que c'est un nouvelle façon d'utiliser symfony alors que pas du tout. La sendbox c'est un projet avec un cadre définit par la communauté de symfony.

    Tu peux avec l'installe de pear sauf que quand tu voudras déployer il faudra que tu regroupe tout à la main.

    L'avantage de la sendbox c'est que tu peux avoir des version différentes de symfony sur le même pc.

    Voici le lien pour créer un vhost : http://www.symfony-project.org/jobee...Doctrine/fr/01
    à partir de : Configuration du serveur Web : la pire méthode

  13. #13
    Membre du Club
    Inscrit en
    Janvier 2011
    Messages
    63
    Détails du profil
    Informations forums :
    Inscription : Janvier 2011
    Messages : 63
    Points : 56
    Points
    56
    Par défaut
    Vire windows de ton pc, et viens dans le merveilleux monde de la GPL. Utilise FreeBSD

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