Symfony使用composer安装出现的curl问题
1.问题
![在这里插入图片描述](https://img-blog.csdnimg.cn/0afa704597a7465ba00afc4058746e0f.png)
这个问题出在需要把 raw.githubusercontent.com 域名所在ip添加到hosts文件里,
查询真实IP在https://www.ipaddress.com/
查询raw.githubusercontent.com
的真实IP。
![在这里插入图片描述](https://img-blog.csdnimg.cn/85399d28b8b546c3980703033ce8c3db.png?x-oss-process=image/watermark,type_d3F5LXplbmhlaQ,shadow_50,text_Q1NETiBA5pyr5pyr6JCM6JCM5ZOS,size_16,color_FFFFFF,t_70,g_se,x_16)
加入185.199.111.133 raw.githubusercontent.com
到hosts里
注:如果还有问题就去GitHub上拉取后进行下一步操作吧
GitHub地址:Symfony5.4版本
https://github.com/symfony/skeleton