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

An LC.8 Error Appeared

If you see an LC.8 error appear while using LiteSpeed, then the IP you have been assigned has...

How to Fix Broken Images in LiteSpeed

First, go to your web console then go to Configuration > Server > Security File...

When do changes to the license happen?

Any change to your license will take effect the next time your license communicates with the...

How many cores are needed?

An 8 core server generally doesn't need more than a 2-CPU license or even a 1-CPU license....

How to Change the License Key

LiteSpeed makes it very easy to change your license key. Simply type the following into the...