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.

  • LiteSpeed, erreur, error, MySQL
  • 22 Users Found This Useful
Was this answer helpful?

Related Articles

 CloudLinux PHP Selector

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

 How to Compile LsPHP on InterWorx

To compile LsPHP to match the PHP on the server you need to use one of the following commands...

 How to Enable SSL for Webadmin

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

 How to Fix Broken Images in LiteSpeed

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

 An LC.8 Error Appeared

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