After installing Laravel version 5.6 via composer and windows 10 show me 5.5.32 [duplicate]

岁酱吖の 提交于 2019-12-13 03:38:23

问题


I trying to install last version (5.6) of Laravel project but after install that, It was not version 5.6 but it is 5.5.32 !!!

I installed composer on my windows 10 and I did run composer global require "laravel/installer" and composer create-project --prefer-dist laravel/laravel blog according to https://laravel.com/docs/5.6/installation

But when checking laravel version installed it show me 5.5.32 !! why??

I using XAMPP and PHP > 7.1


回答1:


last version Laravel is dev-develop

trying to run in CMD :

composer create-project --prefer-dist laravel/laravel blog dev-develop

you must installed composer and php 7.2




回答2:


Make sure you are using at least PHP 7.1.3 and update your composer.json file to:

"php": ">=7.1.3",
"laravel/framework": "5.6.*",

Then run:

composer update



来源:https://stackoverflow.com/questions/48411868/after-installing-laravel-version-5-6-via-composer-and-windows-10-show-me-5-5-32

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!