PHP gnupg - configure: error - Please reinstall the gpgme distribution: различия между версиями

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
 
Строка 1: Строка 1:
 +
[[Файл:B_1.gif |link=https://bit.ly/3tbFsd6| Доступная цена]]
 +
 
=== PHP gnupg - configure: error - Please reinstall the gpgme distribution ===
 
=== PHP gnupg - configure: error - Please reinstall the gpgme distribution ===
  

Текущая версия на 17:01, 20 января 2023

Доступная цена

PHP gnupg - configure: error - Please reinstall the gpgme distribution

При установке php-gnupg через pecl возникла ошибка:

checking for gawk... gawk
checking for gnupg support... yes, shared
checking for gnupg files in default path... not found
configure: error: Please reinstall the gpgme distribution
ERROR: `/tmp/pear/temp/gnupg/configure --with-php-config=/opt/php74/bin/php-config' failed


Решение для CentOS 7 - доустановить пакет gpgme-devel:

# yum install gpgme-devel

Решение для Ubuntu/Debian - доустановить пакет libgpgme11-dev:

# apt-get install libgpgme11-dev

После этого повторить установку через менеджер пакетов php - pecl

# /opt/php74/bin/pecl install gnupg