Another error during an attempt to compile PHP via the Litespeed web admin console dealt with MySQL library versions. I had MySQL installed and operational on the server so I wasn’t immediately sure what the issue was. Error:configure: error: wrong mysql library version or lib not found. Check config.log for more information. After looking further…
I received the following error in the log when attempting to compile PHP in the Litespeed web admin.
Error: configure: error: xml2-config not found. Please check your libxml2 installation.
Resolving this error is easy by installing libxml2-devel via yum as shown below.
- yum install libxml2-devel
The below explains the steps necessary to redirect all Litespeed HTTP (port 80) traffic to HTTPS (port 443).