Simply do it
sudo apt install php-mysqli
It works perfectly and it is version independent
Related Contents:
- mysqli or PDO – what are the pros and cons? [closed]
- MySQL vs MySQLi when using PHP [closed]
- What to do with mysqli problems? Errors like mysqli_fetch_array(): Argument #1 must be of type mysqli_result and such
- What is the difference between MySQL, MySQLi and PDO? [closed]
- Call to undefined method mysqli_stmt::get_result
- How to solve “Fatal error: Class ‘MySQLi’ not found”?
- Commands out of sync; you can’t run this command now
- Can I mix MySQL APIs in PHP?
- mysqli_real_connect(): (HY000/2002): No such file or directory
- Do I have to guard against SQL injection if I used a dropdown?
- Headers and client library minor version mismatch
- Example of how to use bind_result vs get_result
- How can I enable the MySQLi extension in PHP 7?
- MySQLi prepared statements error reporting [duplicate]
- How to change mysql to mysqli?
- Warning: mysqli_connect(): (HY000/2002): No such file or directory
- PHP error: “Cannot pass parameter 2 by reference”
- phpMyAdmin ERROR: mysqli_real_connect(): (HY000/1045): Access denied for user ‘pma’@’localhost’ (using password: NO)
- Using Mysqli bind_param with date and time columns?
- Using Prepared Statement, how I return the id of the inserted row?
- How can I with mysqli make a query with LIKE and get all results?
- CodeIgniter: Unable to connect to your database server using the provided settings Error Message
- Which is fastest in PHP- MySQL or MySQLi?
- $stmt->execute() : How to know if db insert was successful?
- How to install MySQLi on MacOS
- How to echo a MySQLi prepared statement?
- mysqli fetch_all() not a valid function?
- PHP MySQLI Prevent SQL Injection [duplicate]
- mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in [duplicate]
- How to check if a row exists in MySQL? (i.e. check if username or email exists in MySQL)
- MySQLi equivalent of mysql_result()?
- mysqli::query(): Couldn’t fetch mysqli
- What is the best collation to use for MySQL with PHP? [closed]
- How to check that a string is an int, but not a double, etc.?
- How do I pass parameters into a PHP script through a webpage?
- Mechanisms for tracking DB schema changes [closed]
- PHP and MySQL – how to avoid password in source code? [duplicate]
- PHP 7.2 Function create_function() is deprecated
- Use of Initialization Vector in openssl_encrypt
- Boolean value switch/invert
- Laravel Migration table already exists, but I want to add new not the older
- Issue reading HTTP request body from a JSON POST in PHP [duplicate]
- Setting POST variable without using form
- How to generate a new GUID?
- PHP read sub-directories and loop through files how to?
- How can I get the day of a specific date with PHP
- How to limit size of result set in doctrine 2?
- MySQL where NOT IN name array?
- PHP – recursive Array to Object?
- Remove quotes from start and end of string in PHP