庆云php

庆云php

安装多应用ThinkPHP6.0时遇到的坑

PHP 0

2023年11月20日 每日一猜答案: 答案:ABC
每日一猜答案分析:

安装多应用ThinkPHP6.0时遇到的坑

- Downloading league/mime-type-detection (1.11.0) Failed to download league/mime-type-detection from dist: Unable to use a proxy: malformed http_proxy url Now trying to download from source - Syncing league/mime-type-detection (1.11.0) into cache Cloning failed using an ssh key for authentication, enter your GitHub credentials to access private repos When working with _public_ GitHub repositories only, head to https://github.com/settings/tokens/new?scopes=&description=Composer+on+DESKTOP-65M44IJ+2022-09-09+0737 to retrieve a token. This token will have read-only permission for public information only. When you need to access _private_ GitHub repositories as well, go to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+DESKTOP-65M44IJ+2022-09-09+0737 Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer. Tokens will be stored in plain text in "C:/Users/Administrator/AppData/Roaming/Composer/auth.json" for future use by Composer. For additional information, check https://getcomposer.org/doc/articles/authentication-for-private-packages.md#github-oauth Token (hidden): - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) - Downloading league/flysystem (1.1.9) Failed to download league/flysystem from dist: Unable to use a proxy: malformed http_proxy url Now trying to download from source - Syncing league/flysystem (1.1.9) into cache - Downloading psr/container (1.1.2) - Downloading psr/container (1.1.2) - Downloading psr/container (1.1.2) - Downloading psr/container (1.1.2) Failed to download psr/container from dist: Unable to use a proxy: malformed http_proxy url Now trying to download from source - Syncing psr/container (1.1.2) into cache - Downloading psr/http-message (1.0.1) - Downloading psr/http-message (1.0.1) - Downloading psr/http-message (1.0.1) - Downloading psr/http-message (1.0.1) Failed to download psr/http-message from dist: Unable to use a proxy: malformed http_proxy url Now trying to download from source - Syncing psr/http-message (1.0.1) into cache - Downloading topthink/framework (v6.0.13) - Downloading topthink/framework (v6.0.13) - Downloading topthink/framework (v6.0.13) - Downloading topthink/framework (v6.0.13) Failed to download topthink/framework from dist: Unable to use a proxy: malformed http_proxy url Now trying to download from source - Syncing topthink/framework (v6.0.13) into cache 0 [>---------------------------] [Composer\Downloader\TransportException] Unable to use a proxy: malformed http_proxy url create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [] [] [] E:\php\tp6>set http_proxy=0 上边这一步,不明白是什么,反正我的环境必先择行上边这步,再执行下边这一步,不然报上边的Unable to use a proxy: malformed http_proxy url错。 E:\php\tp6> composer create-project topthink/think tp      

安装多应用ThinkPHP6.0时遇到的坑,巨多。

终于Succeed 了 14 package suggestions were added by new dependencies, use `composer suggest` to see details. Generating autoload files > @php think service:discover Succeed! > @php think vendor:publish Succeed! 6 packages you are using are looking for funding. Use the `composer fund` command to find out more!