4.3.8 Store Error For Php 7

I had my ISP try to upgrade our dedicated Litespeed server to php7. It is running one Cs Cart install 4.3.8

When they updated the libraries the store reported the following error;

[STDERR] PHP Warning: mysqli::__construct(): (HY000/2002): No such file or directory in /usr/local/lsws/DEFAULT/html/app/Tygh/Backend/Database/Mysqli.php on line 40

Does anyone know why this would be? Line 40 of that file is connecting to the database;

$this->conn = new \mysqli($host, $user, $passwd, $database, $port);

Thanks,

Scott.

Ask your host to ensure that mysqli is compiled into your version of PHP or use the PDO interface to mysql.

I checked with the isp, they confirmed that they did compile with; "--with-mysqli --with-pdo-mysql".

Well, it's certainly seems to be a server issue versus cs-cart.

Ask your host to ensure that mysqli is compiled into your version of PHP or use the PDO interface to mysql.

How would this work with my server where I have the cpanel option to switch version of php according to domain

Same issue. Your server is configured with multiple PHP versions installed. When you use the ezApache switcher, it will use that VERSION. You still need to insure that the VERSION has mysqli support compiled in. But it would be VERY non-standard for it not to have.