phpMyFAQ インストール時に「The following extensions are missing! Please enable the PHP extension(s) in php.ini.」が発生した場合の対処法

phpMyFAQ インストール時に「The following extensions are missing! Please enable the PHP extension(s) in php.ini.」が発生した場合の対処法

phpMyFAQインストール時に、エラー「The following extensions are missing! Please enable the PHP extension(s) in php.ini.」が発生した場合の原因と解決方法を記述してます。自分の場合は対象のモジュールがインストールされていなかっただけでした。

環境

  • OS CentOS Stream release 9
  • php 8.2.0RC4 (cli)

エラー内容

インストール作業時に発生しました。

原因

「php-gd」と「php-pecl-zip」がインストールされていなかったため

解決方法

「php-gd」と「php-pecl-zip」をインストールする

$ sudo dnf install php-gd php-zip

その他にも、必要なモジュールがあるのでインストールしておきます

$ sudo dnf install php-curl php-fpm php-mysql php-mbstring php-xml