JAVA、PHP、前端、APP、网站开发 - 开发技术学习

开发技术学习 » 服务器 » curl error 60 while downloading https://packagist.laravel-china.org/packages.json: Peer‘s Certifica

curl error 60 while downloading https://packagist.laravel-china.org/packages.json: Peer‘s Certifica

此文被围观625日期: 2022-08-09 分类 : 服务器  标签:  ··

composer update时报错


[ComposerDownloaderTransportException]  

 curl error 60 while downloading https://packagist.phpcomposer.com/packages.json: Peer's Certificate has expired. 


将composer.json文件中的packagist地址修改了;


"repositories": {

        "packagist": {

            "type": "composer",

            "url": "https://packagist.phpcomposer.com"

        }

    }


替换为


"repositories": {

        "packagist": {

            "type": "composer",

            "url": "https://mirrors.aliyun.com/composer/"

        }

    }


站点声明:部分内容源自互联网,为传播信息之用,如有侵权,请联系我们删除。

© Copyright 2011-2024 www.kfju.com. All Rights Reserved.
超级字帖 版权所有。蜀ICP备12031064号