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 into the problem I realized that I needed to install the MySQL development package via yum. Issue the below command to resolve this issue.
- yum install mysql-devel
After installing this package I was able to compile PHP using the Litespeed web admin console.