Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 Laravel 的新手,最近我切换到了最新版本(9.1)。但是,在使用更新版本和 PHP 重新安装到 8.1.0 的 Composer 和 Wamp 之后,我无法使用低于 9 和高于 5 的任何版本创建 Laravel 项目。那我现在应该做什么?
错误
[InvalidArgumentException] 在可使用您的 PHP 版本、PHP 扩展和 Composer 版本安装的版本中找不到版本 8 的包 laravel/laravel。
我用旧版本的 PHP (7.4.6) 重新安装了 Composer,现在可以正常安装 Laravel 8。