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 :

message d' erreur lors de la création d' un projet


Sujet :

Symfony PHP

  1. #1
    Membre averti
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mai 2023
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 24
    Localisation : Côte d'Ivoire

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Mai 2023
    Messages : 21
    Par défaut message d' erreur lors de la création d' un projet
    commande de création du projet "symfony new --webapp my_project"

    le message d' erreur " unable to run C:\ProgramData\ComposerSetup\bin\composer.phar require webapp --no-interaction "

    les differents outils et les versions utilisé

    symfony :Symfony CLI version 5.5.6

    git: git version 2.41.0.windows.1

    php: PHP 8.2.4 (cli)

    composer: Composer version 2.5.7

  2. #2
    Membre émérite
    Homme Profil pro
    Autre
    Inscrit en
    Juillet 2021
    Messages
    421
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Autre

    Informations forums :
    Inscription : Juillet 2021
    Messages : 421
    Par défaut
    Bonjour,

    Essaye d'ajouter l'option -v dans ta commande pour avoir plus de détail sur l'erreur : symfony new my_project --webapp -v

    Si ce n'est pas déjà le cas, assures toi que les prérequis pour Symfony sont correctement installés et configurés avec la commande suivante : symfony check:requirements

  3. #3
    Membre averti
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mai 2023
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 24
    Localisation : Côte d'Ivoire

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Mai 2023
    Messages : 21
    Par défaut
    j' ai tapé la commande " symfony check:requirements"
    j ai recu "Your system is ready to run Symfony projects" qui me dit je peut initialiser des projet Symfony

    mais le même message d' erreur continue à s' afficher et pas d' information complémentaire

    le message d' erreur " unable to run C:\ProgramData\ComposerSetup\bin\composer.phar require webapp --no-interaction "

  4. #4
    Membre émérite
    Homme Profil pro
    Autre
    Inscrit en
    Juillet 2021
    Messages
    421
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Autre

    Informations forums :
    Inscription : Juillet 2021
    Messages : 421
    Par défaut
    L'option -v devrait donner plus de détail.

    Sinon, tu peux aussi essayer de créer ton projet directement avec Composer :
    Code bash : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    composer create-project symfony/skeleton:"6.3.*" my_project
    cd my_project
    composer require webapp

  5. #5
    Membre averti
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mai 2023
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 24
    Localisation : Côte d'Ivoire

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Mai 2023
    Messages : 21
    Par défaut
    j' ai essayer avec composer mais il y a eu aussi des erreurs tel que echec de telechargement de plusieurs outils que je ne connais pas trop

  6. #6
    Membre émérite
    Homme Profil pro
    Autre
    Inscrit en
    Juillet 2021
    Messages
    421
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Autre

    Informations forums :
    Inscription : Juillet 2021
    Messages : 421
    Par défaut
    Désolé, impossible pour moi de t'apporter plus d'aide si tu n'indiques pas les messages d'erreurs que tu rencontres.

  7. #7
    Membre averti
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mai 2023
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 24
    Localisation : Côte d'Ivoire

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Mai 2023
    Messages : 21
    Par défaut
    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
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
     
    Microsoft Windows [version 10.0.17763.316]
    (c) 2018 Microsoft Corporation. Tous droits réservés.
     
    C:\xampp\htdocs\symfony>symfony new --webapp application -v
    * Creating a new Symfony project with Composer
      (running C:\ProgramData\ComposerSetup\bin\composer.phar create-project symfony/skeleton C:\xampp\htdocs\symfony\application  --no-interaction)
     
    * Setting up the project under Git version control
      (running git init C:\xampp\htdocs\symfony\application)
     
      (running C:\ProgramData\ComposerSetup\bin\composer.phar require webapp --no-interaction)
     
    ./composer.json has been updated
    Running composer update symfony/webapp-pack
    Loading composer repositories with package information
    Restricting packages listed in "symfony/symfony" to "6.3.*"
    Updating dependencies
    Lock file operations: 102 installs, 0 updates, 0 removals
      - Locking doctrine/cache (2.2.0)
      - Locking doctrine/collections (2.1.2)
      - Locking doctrine/common (3.4.3)
      - Locking doctrine/dbal (3.6.3)
      - Locking doctrine/deprecations (v1.1.1)
      - Locking doctrine/doctrine-bundle (2.10.0)
      - Locking doctrine/doctrine-migrations-bundle (3.2.4)
      - Locking doctrine/event-manager (2.0.0)
      - Locking doctrine/inflector (2.0.6)
      - Locking doctrine/instantiator (2.0.0)
      - Locking doctrine/lexer (2.1.0)
      - Locking doctrine/migrations (3.6.0)
      - Locking doctrine/orm (2.15.2)
      - Locking doctrine/persistence (3.2.0)
      - Locking doctrine/sql-formatter (1.1.3)
      - Locking egulias/email-validator (4.0.1)
      - Locking masterminds/html5 (2.8.0)
      - Locking monolog/monolog (3.3.1)
      - Locking myclabs/deep-copy (1.11.1)
      - Locking nikic/php-parser (v4.15.5)
      - Locking phar-io/manifest (2.0.3)
      - Locking phar-io/version (3.2.1)
      - Locking phpdocumentor/reflection-common (2.2.0)
      - Locking phpdocumentor/reflection-docblock (5.3.0)
      - Locking phpdocumentor/type-resolver (1.7.2)
      - Locking phpstan/phpdoc-parser (1.22.0)
      - Locking phpunit/php-code-coverage (9.2.26)
      - Locking phpunit/php-file-iterator (3.0.6)
      - Locking phpunit/php-invoker (3.1.1)
      - Locking phpunit/php-text-template (2.0.4)
      - Locking phpunit/php-timer (5.0.3)
      - Locking phpunit/phpunit (9.6.9)
      - Locking psr/clock (1.0.0)
      - Locking psr/link (2.0.1)
      - Locking sebastian/cli-parser (1.0.1)
      - Locking sebastian/code-unit (1.0.8)
      - Locking sebastian/code-unit-reverse-lookup (2.0.3)
      - Locking sebastian/comparator (4.0.8)
      - Locking sebastian/complexity (2.0.2)
      - Locking sebastian/diff (4.0.5)
      - Locking sebastian/environment (5.1.5)
      - Locking sebastian/exporter (4.0.5)
      - Locking sebastian/global-state (5.0.5)
      - Locking sebastian/lines-of-code (1.0.3)
      - Locking sebastian/object-enumerator (4.0.4)
      - Locking sebastian/object-reflector (2.0.4)
      - Locking sebastian/recursion-context (4.0.5)
      - Locking sebastian/resource-operations (3.0.3)
      - Locking sebastian/type (3.2.1)
      - Locking sebastian/version (3.0.2)
      - Locking symfony/asset (v6.3.0)
      - Locking symfony/browser-kit (v6.3.0)
      - Locking symfony/clock (v6.3.0)
      - Locking symfony/css-selector (v6.3.0)
      - Locking symfony/debug-bundle (v6.3.0)
      - Locking symfony/debug-pack (v1.0.10)
      - Locking symfony/doctrine-bridge (v6.3.0)
      - Locking symfony/doctrine-messenger (v6.3.0)
      - Locking symfony/dom-crawler (v6.3.0)
      - Locking symfony/expression-language (v6.3.0)
      - Locking symfony/form (v6.3.0)
      - Locking symfony/http-client (v6.3.0)
      - Locking symfony/http-client-contracts (v3.3.0)
      - Locking symfony/intl (v6.3.0)
      - Locking symfony/mailer (v6.3.0)
      - Locking symfony/maker-bundle (v1.49.0)
      - Locking symfony/messenger (v6.3.0)
      - Locking symfony/mime (v6.3.0)
      - Locking symfony/monolog-bridge (v6.3.0)
      - Locking symfony/monolog-bundle (v3.8.0)
      - Locking symfony/notifier (v6.3.0)
      - Locking symfony/options-resolver (v6.3.0)
      - Locking symfony/orm-pack (v2.3.0)
      - Locking symfony/password-hasher (v6.3.0)
      - Locking symfony/phpunit-bridge (v6.3.0)
      - Locking symfony/polyfill-intl-icu (v1.27.0)
      - Locking symfony/polyfill-intl-idn (v1.27.0)
      - Locking symfony/process (v6.3.0)
      - Locking symfony/profiler-pack (v1.0.6)
      - Locking symfony/property-access (v6.3.0)
      - Locking symfony/property-info (v6.3.0)
      - Locking symfony/security-bundle (v6.3.0)
      - Locking symfony/security-core (v6.3.0)
      - Locking symfony/security-csrf (v6.3.0)
      - Locking symfony/security-http (v6.3.0)
      - Locking symfony/serializer (v6.3.0)
      - Locking symfony/serializer-pack (v1.3.0)
      - Locking symfony/stopwatch (v6.3.0)
      - Locking symfony/test-pack (v1.1.0)
      - Locking symfony/translation (v6.3.0)
      - Locking symfony/translation-contracts (v3.3.0)
      - Locking symfony/twig-bridge (v6.3.0)
      - Locking symfony/twig-bundle (v6.3.0)
      - Locking symfony/twig-pack (v1.0.1)
      - Locking symfony/validator (v6.3.0)
      - Locking symfony/web-link (v6.3.0)
      - Locking symfony/web-profiler-bundle (v6.3.0)
      - Locking symfony/webapp-pack (v1.2.0)
      - Locking theseer/tokenizer (1.2.1)
      - Locking twig/extra-bundle (v3.6.1)
      - Locking twig/twig (v3.6.1)
      - Locking webmozart/assert (1.11.0)
    Writing lock file
    Installing dependencies from lock file (including require-dev)
    Package operations: 102 installs, 0 updates, 0 removals
        Failed to download symfony/stopwatch from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing symfony/stopwatch (v6.3.0) into cache
        Failed to download doctrine/event-manager from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/event-manager (2.0.0) into cache
        Failed to download doctrine/deprecations from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/deprecations (v1.1.1) into cache
        Failed to download doctrine/cache from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/cache (2.2.0) into cache
        Failed to download doctrine/dbal from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/dbal (3.6.3) into cache
        Failed to download doctrine/migrations from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/migrations (3.6.0) into cache
        Failed to download doctrine/persistence from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/persistence (3.2.0) into cache
        Failed to download symfony/doctrine-bridge from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing symfony/doctrine-bridge (v6.3.0) into cache
        Failed to download doctrine/sql-formatter from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/sql-formatter (1.1.3) into cache
        Failed to download doctrine/doctrine-bundle from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/doctrine-bundle (2.10.0) into cache
        Failed to download doctrine/doctrine-migrations-bundle from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/doctrine-migrations-bundle (3.2.4) into cache
        Failed to download doctrine/lexer from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/lexer (2.1.0) into cache
        Failed to download doctrine/instantiator from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/instantiator (2.0.0) into cache
        Failed to download doctrine/inflector from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/inflector (2.0.6) into cache
        Failed to download doctrine/common from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/common (3.4.3) into cache
        Failed to download doctrine/collections from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/collections (2.1.2) into cache
        Failed to download doctrine/orm from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing doctrine/orm (2.15.2) into cache
        Failed to download symfony/polyfill-intl-idn from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing symfony/polyfill-intl-idn (v1.27.0) into cache
        Failed to download egulias/email-validator from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing egulias/email-validator (4.0.1) into cache
        Failed to download webmozart/assert from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing webmozart/assert (1.11.0) into cache
        Failed to download phpstan/phpdoc-parser from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing phpstan/phpdoc-parser (1.22.0) into cache
        Failed to download phpdocumentor/reflection-common from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing phpdocumentor/reflection-common (2.2.0) into cache
        Failed to download phpdocumentor/type-resolver from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing phpdocumentor/type-resolver (1.7.2) into cache
        Failed to download phpdocumentor/reflection-docblock from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing phpdocumentor/reflection-docblock (5.3.0) into cache
        Failed to download sebastian/version from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/version (3.0.2) into cache
        Failed to download sebastian/type from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/type (3.2.1) into cache
        Failed to download sebastian/resource-operations from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/resource-operations (3.0.3) into cache
        Failed to download sebastian/recursion-context from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/recursion-context (4.0.5) into cache
        Failed to download sebastian/object-reflector from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/object-reflector (2.0.4) into cache
        Failed to download sebastian/object-enumerator from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/object-enumerator (4.0.4) into cache
        Failed to download sebastian/global-state from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/global-state (5.0.5) into cache
        Failed to download sebastian/exporter from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/exporter (4.0.5) into cache
        Failed to download sebastian/environment from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/environment (5.1.5) into cache
        Failed to download sebastian/diff from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/diff (4.0.5) into cache
        Failed to download sebastian/comparator from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/comparator (4.0.8) into cache
        Failed to download sebastian/code-unit from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/code-unit (1.0.8) into cache
        Failed to download sebastian/cli-parser from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing sebastian/cli-parser (1.0.1) into cache
        Failed to download phpunit/php-timer from dist: The zip extension and unzip/7z commands are both missing, skipping.
    The php.ini used by your command-line PHP is: C:\xampp\php\php.ini
        Now trying to download from source
      - Syncing phpunit/php-timer (5.0.3) into cache
    The following exception is caused by a process timeout
    Check https://getcomposer.org/doc/06-config.md#process-timeout for details
     
    In Process.php line 1204:
     
      The process "git clone --mirror -- https://github.com/sebastianbergmann/php-timer.git C:/Users/15032023/AppData/Loc
      al/Composer/vcs/https---github.com-sebastianbergmann-php-timer.git/" exceeded the timeout of 300 seconds.
     
     
    require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [<packages>...]
     
     
     
      unable to run C:\ProgramData\ComposerSetup\bin\composer.phar require webapp --no-interaction
     
     
    C:\xampp\htdocs\symfony>
    voici le résultat de la commande "symfony new --webapp application -v "

  8. #8
    Membre émérite
    Homme Profil pro
    Autre
    Inscrit en
    Juillet 2021
    Messages
    421
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Loire Atlantique (Pays de la Loire)

    Informations professionnelles :
    Activité : Autre

    Informations forums :
    Inscription : Juillet 2021
    Messages : 421
    Par défaut
    The zip extension and unzip/7z commands are both missing, skipping.
    L'extension zip ne semble pas être activée dans ta configuration de php.
    A priori tu utilises XAMPP, je suppose qu'il s'agit de la dernière version.

    Vérifie que le fichier c:\xampp\php\ext\php_zip.dll existe bien.
    Si c'est le cas, ouvre le fichier c:\xampp\php\php.ini et cherche la ligne suivante :

    Dé-commente cette ligne en supprimant le point-virgule pour activer l'extension zip :

    Puis enregistre le fichier php.ini et essaye de recréer ton projet avec la commande symfony.

  9. #9
    Membre averti
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Mai 2023
    Messages
    21
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 24
    Localisation : Côte d'Ivoire

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Mai 2023
    Messages : 21
    Par défaut
    un grand merci je ne sais comment te dit merci c est top ca marche

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

Discussions similaires

  1. [AC-2007] message d'erreur lors de la création d'une requête de regroupement
    Par MissBricolo dans le forum Access
    Réponses: 1
    Dernier message: 02/07/2018, 15h08
  2. Réponses: 4
    Dernier message: 17/10/2014, 22h06
  3. Réponses: 2
    Dernier message: 13/01/2012, 14h02
  4. message d'erreur lors de la création de la base
    Par ber_jp dans le forum PostgreSQL
    Réponses: 3
    Dernier message: 20/05/2004, 12h15
  5. message d'erreur lors de la création d'une base
    Par franculo_caoulene dans le forum MS SQL Server
    Réponses: 4
    Dernier message: 16/04/2004, 15h47

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