MySQL errors

If you are receiving MySQL errors, make sure to check PHPInfo for the MySQL section (Apache):

MYSQL_LIBS:

-L/usr/lib64/mysql -lmysqlclient


To solve the issue, compile LSPHP with:

--with-mysql=/usr --with-libdir=lib64 --with-mysqli=/usr/bin/mysql_config


If you still have issues or questions, feel free to visit the official PHP documentation on MYSQL or view their mysqli extension documentation at http://us2.php.net/manual/en/book.mysqli.php

Otherwise, you can contact us by opening a support ticket or use our live chat feature for 24/7 support.

  • 1 Users Found This Useful
Was this answer helpful?

Also Read

How to Transfer Your License to a New Server

When moving to another server, please do the following: Copy the serial.no file content as you...

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 Check Your License

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

What is $VH_ROOT?

$VH_ROOT is the user's home directory. If you still have questions, make sure to contact...

How to Fix Broken Images in LiteSpeed

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