Bug 41258 - Ошибка NoSslException
Summary: Ошибка NoSslException
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: composer (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Vitaly Lipatov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-01 18:00 MSK by Alexander Makeenkov
Modified: 2021-11-01 18:06 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2021-11-01 18:00:49 MSK
При запуске composer ругается, что не установлено расширение openssl, хотя пакет php7-openssl установлен:

$ composer require laravel/laravel
                                                                                                                                                                                                                        
  [Composer\Exception\NoSslException]                                                                                                                                                                                     
  The openssl extension is required for SSL/TLS protection but is not available. 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.

Версия пакета: composer-2.1.6-alt1

Установленные php7 пакеты:
$ rpm -qa | grep php7
php7-7.4.25-alt1.x86_64
php7-openssl-7.4.25-alt1.x86_64
php7-libs-7.4.25-alt1.x86_64

Также воспроизводится и в p10, но не воспроизводится в p9.
Comment 1 Alexander Makeenkov 2021-11-01 18:06:01 MSK
Проблема была в том, что в системе был также установлен и php8.0, но не был установен php8.0-openssl.

После установки php8.0-openssl проблема ушла.