douzha8489 2018-11-09 06:58
浏览 135

Linux编辑器安装错误'需要openssl扩展'

I have use 'composer install' command and it say

[Composer\Exception\NoSslException]                                          
  The openssl extension is required for SSL/TLS protection but is not availab  
  le. If you can not enable the openssl extension, you can disable this error  
  , at your own risk, by setting the 'disable-tls' option to true. 

I use on Linux os with php 7.2

How can I fix this?

I already look in php.ini and can't see an extension for openssl.

  • 写回答

1条回答 默认 最新

  • dounai6626 2018-11-09 07:22
    关注

    It's not safe to disable SSL/TLS protection. but if you are confident enough with the working environment try this.

    composer config -g -- disable-tls true
    

    then

    composer install
    
    评论

报告相同问题?

悬赏问题

  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来
  • ¥50 comfyui下连接animatediff节点生成视频质量非常差的原因
  • ¥20 有关区间dp的问题求解
  • ¥15 多电路系统共用电源的串扰问题
  • ¥15 slam rangenet++配置
  • ¥15 有没有研究水声通信方面的帮我改俩matlab代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 保护模式-系统加载-段寄存器