上一篇:vue学习(2023-02-24 17:07:34)
文章大纲

安装thinkphp6项目,报Could not find package topthink/think with stability stable错误

2023-03-18 13:48:47

composer config -g --unset repos.packagist



 composer create-project topthink/think


 php think build poem

 [InvalidArgumentException]

  Command "build" is not defined.


 composer require topthink/think-multi-app



 php think build poem



phpstorm如何修改版本?


Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.5". You are running 5.6.40. in F:\wamp\www\think\vendor\composer\platform_check.php on line 25


if (!(PHP_VERSION_ID >= 70205)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.5". You are running ' . PHP_VERSION . '.';
}



define ('PHP_VERSION', "5.3.6-13ubuntu3.2");


php.jar/stubs/Core/Core_d.php



 Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.5". You are running 5.6.40. 


"platform-check": false


composer dump




Wampserver does not use, modify or require the PATH environment variable.

Using a PATH on Wampserver or PHP version

is detrimental to the proper functioning of Wampserver.














上一篇:vue学习(2023-02-24 17:07:34)
我要评论
评论列表