PHP4系からPHP5.2系へ更新した際、libxml2に関する不具合が表示されますが?
[ 一覧へ戻る ]
libxml2を追加導入します。
PHP5系では、libxml2が必要になるようです。freebsdの場合は、pkg_addで簡単に追加できます。
# ./configure ....
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking for xml2-config path...
configure: error: xml2-config not found. Please check your libxml2 installation.
# pkg_add -r libxml2
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/libxml2.tbz... Done.
Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/All/pkgconfig-0.20.tbz... Done.
上述の例では、configureを実行しましたが、途中で不具合が表示されて停止した例です。実際にはもっと多くの表示があるため、抜粋しています。pkg_addにより、libxml2を追加することで、問題を解決できます。
サーバ運用・構築