Statement on glibc/iconv Vulnerability

PHP < 7.4 におけるインストール手順

libxml 拡張モジュールはデフォルトで有効となりますが、 --disable-libxml で無効になっている可能性もあります。

オプションの --with-libxml-dir ディレクティブを使って、PHP をコンパイルするシステム上での libxml の位置を指定することができます。 指定しなければ、デフォルトの場所のみを探します。configure の際に libxml (具体的には xml2-config) を探す順序は次のとおりです。

  1. --with-libxml-dir で指定した ([DIR]) 場所 ([DIR]=/bin/xml2-config)

  2. /usr/local/bin/xml2-config

  3. /usr/bin/xml2-config

configure 時に --with-libxml-dir で指定したディレクトリで xml2-config が見つからない場合は、デフォルトの場所を探します。

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top