Error: xml2-config not found

If at any time you receive an error: xml2-config alert or running a detailed report shows:

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.

**ERROR** Could not configure PHP buil


You can fix this issue by entering the following command into your terminal:

yum install libxml2-devel


If you still have questions or concerns, contact us by opening a support ticket or by using our live chat feature at any time.

  • 0 Users Found This Useful
Was this answer helpful?

Also Read

How to Upgrade LiteSpeed

 Please use the following command with the version number: ...

How to Enable SSL for Webadmin

As of LiteSpeed Web Server v5.2, self-signed SSL certificates are automatically created for the...

How to Check Your License

If you want to check your LiteSpeed license, simply log into the LiteSpeed Web console then go to...

How to Uninstall LiteSpeed

If, for some reason, you need to uninstall LiteSpeed, run the following command into your console...

CloudLinux PHP Selector

CloudLinux requires the following to be installed: PHP Selector LVE Manager CageFS...