Home  >  Q&A  >  body text

Composer cannot install laravel

什么情况:

D:\myphp_www\PHPTutorial\WWW\PHPDemo\laravel>composer create-project laravel/laravel Laravel --prefer-dist "5.5.*"

  [InvalidArgumentException]

  Could not find package laravel/laravel with version 5.5.* in a version installable using your PHP version 5.4.45.



create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY

-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [-

-no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]


Debug客栈Debug客栈2066 days ago1693

reply all(3)I'll reply

  • Icetalker

    Icetalker2019-03-18 04:54:20

    PHP version is too low

    reply
    0
  • 了凡

    What do I say about my version 7.3.4?

    了凡 · 2020-12-12 15:26:07
  • Cancelreply