|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2020-01-17 04:14 UTC] 823688826 at qq dot com
Description: ------------ ./configure --prefix=/opt/php7.4/ --with-libxml2=/opt/libxml2 Test script: --------------- ./configure --prefix=/opt/php7.4/ --with-libxml2=/opt/libxml2 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Feb 04 17:00:01 2026 UTC |
As the error message indicates, you need to specify the libxml2 path using PKG_CONFIG_PATH. In your case, this is likely possible using: export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/opt/libxml2/lib/pkgconfig"