开发环境:
PHP:7.4
宝塔:7.9.0
ThinkPHP:V6.1.4
初次安装tp6时出错:
D:\wwwroot>composer create-project topthink/think thinktp6
Warning: putenv() has been disabled for security reasons in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/vendor/composer/xdebug-handler/src/Process.php on line 97
Warning: putenv() has been disabled for security reasons in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/Util/Platform.php on line 80
Creating a "topthink/think" project at "./thinktp6"
Cannot use topthink/think's latest version v8.0.0 as it requires php >=8.0.0 which is not satisfied by your platform.
Installing topthink/think (v6.1.0)
- Downloading topthink/think (v6.1.0)
- Installing topthink/think (v6.1.0): Extracting archive
Created project in D:\wwwroot\thinktp6
Composer could not detect the root package (topthink/think) version, defaulting to '1.0.0'. See https://getcompose

1818

被折叠的 条评论
为什么被折叠?



