Fatal Error: Mysql is not supported in your PHP, recompile and try again

versions:
Server version: 5.7.20-0ubuntu0.16.04.1 - (Ubuntu)
Apache/2.4.18 (Ubuntu)
PHP version: 7.0.22-0ubuntu0.16.04.1
phplist-3.0.6
all installation complete, db created and accessed successfully with myphpadmin, but when I try to login to http://myserver-IP/lists/admin (default page to run phplist) it returns: Fatal Error: Mysql is not supported in your PHP, recompile and try again. How can I fix this bug?

A. Upgrade to 3.3.1 at your earliest as there are a number of security fixes since 3.0.6
b. In the config.php file, you should be using mySQLi now so add:

$database_module = 'mysqli.inc';

1 Like

It works! Thank you very much!

I just Googled the error message and found this and it worked for me too. Thank you!

2 Likes

Happy to hear that @MathWithAvrila!