dongningce9075 2016-03-11 17:56
浏览 57

php作曲家windows安装

I want to install composer and run it's command but i always get error bellow:

Connection Error [ERR_CONNECTION]: Unable to connect to getcomposer.org Request to https://getcomposer.org/installer failed with errors: SSL: Handshake timed out. Failed to enable crypto. Failed to open stream: operation failed

what should i do? i previously can do any thing but suddenly i get error and i don't change any thing!

  • 写回答

1条回答 默认 最新

  • douyi1944 2016-03-12 17:11
    关注

    Hmm, it could be a network issue or it's a misconfiguration of some sort.

    I would suggest to check the PHP SSL settings.

    1. make sure the PHP extensions php_openssl and php_curl are enabled.
    2. check that your php.ini has cainfo and cafile properly defined:

      curl.cainfo=/path/to/ssl-certs/ca-bundle.crt
      openssl.cafile=/path/to/ssl-certs/ca-bundle.crt
      

      If certs are missing: download a cert bundle from http://curl.haxx.se/ca/cacert.pem and save as ca-bundle.crt.

    3. check and raise default_socket_timeout in php.ini

      • its 60 by default, so lets say maybe 120. that depends on your connection.
    评论

报告相同问题?

悬赏问题

  • ¥15 stm32开发clion时遇到的编译问题
  • ¥15 如何用Labview在myRIO上做LCD显示?(语言-开发语言)
  • ¥15 Vue3地图和异步函数使用
  • ¥15 C++ yoloV5改写遇到的问题
  • ¥20 win11修改中文用户名路径
  • ¥15 win2012磁盘空间不足,c盘正常,d盘无法写入
  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法