0

I have a problem with composer.

when I want install a php package with composer on my project, I see this mess :

You are running Composer with SSL/TLS protection disabled.

[Composer\Downloader\TransportException]
The "https://packagist.org/packages.json" file could not be downloaded: fai led to open stream: Connection refused

please help me ...

how can i ok this problem ?

Thanks in advance

Tom
  • 324
  • 4
  • 11
Mohammad Ilbeygi
  • 191
  • 3
  • 11
  • 6
    Possible duplicate of [The openssl extension is required for SSL/TLS protection](https://stackoverflow.com/questions/35249620/the-openssl-extension-is-required-for-ssl-tls-protection) – Tom May 21 '18 at 12:46
  • PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/lib/php/20170718/openssl (/usr/lib/php/20170718/openssl: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/openssl.so (/usr/lib/php/20170718/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 – Mohammad Ilbeygi May 21 '18 at 13:01
  • when enable openssl extension i see this error – Mohammad Ilbeygi May 21 '18 at 13:02
  • Are you sure the file exists? – Nico Haase May 22 '18 at 08:41
  • composer? or openssl? – Mohammad Ilbeygi May 22 '18 at 12:10

0 Answers0