[英]How to enable composer SSL/TLS protection in xampp server
Hello I am fresher in Laravel. 您好,我在Laravel较新。 I installed the xampp server into the E:\\xampp>
我将xampp服务器安装到E:\\ xampp>
directory and I installed the composer into the C:> directory.I downloaded 目录,然后将作曲家安装到C:>目录中。我下载了
the laravel project from the laravel site.then for some dependency I have to laravel网站上的laravel项目。那么对于某些依赖,我必须
install the composer into my project directory but when I install 将作曲家安装到我的项目目录中,但是当我安装时
composer using the following command 使用以下命令的作曲家
composer install 作曲家安装
I find the error like 我发现类似的错误
You are running Composer with SSL/TLS protection disabled.
Loading composer repositories with package information
[Composer\Downloader\TransportException]
Your configuration does not allow connections to http://packagist.org/packa
ges.json. See https://getcomposer.org/doc/06-config.md#secure-http for deta
ils.
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-c
ustom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest
] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative]
[--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
How to resolve. 如何解决。
composer config -g -- disable-tls true composer config -g-disable-tls是
maby can help you 马比可以帮助你
(i've occured that problem, openserver solved it for example, I used Uwamp before) (我发生过这个问题,例如,openserver解决了它,我之前使用过Uwamp)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.