php - composer更新失败。
黄舟
黄舟 2017-04-10 16:49:09
[PHP讨论组]
  1. 描述你的问题
    composer selfupdate的时候报错了。

  2. 贴上报错信息

  The "https://getcomposer.org/composer.phar" file could not be downloaded: SSL: crypto enabling timeout
  Failed to enable crypto
  failed to open stream: operation failed"

已经用lantern可以翻墙了。但是更新还是出错。
黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

全部回复(3)
迷茫

1.save ca-bundle.crt to your local path
2.double click ca-bundler.crt to import it
3.add the two line to php.ini

curl.cainfo=d:/download/ca-bundle.crt  
openssl.cafile=d:/download/ca-bundle.crt

4.try to install composer-setup.exe agin.

refer to:https://github.com/composer/composer/issues/2798

PHPz

lantern只是对浏览器有效吧

PHPz

lantern mac上只是打开一个网页吗

热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新 English
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号