The problem is that the package that used to connect PHP to MySQL is deprecated (php5-mysql). If you install the new package,
sudo apt-get install php-mysql
this will automatically update Apache and PHP 7.
More Related Contents:
- Save the data into a database and return another value from database using PHP
- inserting information and image in php and mysql
- Can I mix MySQL APIs in PHP?
- mysqli or die, does it have to die?
- How to check if a row exists in MySQL? (i.e. check if username or email exists in MySQL)
- How to change mysql to mysqli?
- MySQL vs MySQLi when using PHP [closed]
- How to get count of rows in MySQL table using PHP?
- MySQLi prepared statements error reporting [duplicate]
- Correct way to use LIKE ‘%{$var}%’ with prepared statements?
- Why is mysqli giving a “Commands out of sync” error?
- MySQLi count(*) always returns 1
- Warning: mysqli_connect(): (HY000/2002): No such file or directory
- Do I have to guard against SQL injection if I used a dropdown?
- Using Mysqli bind_param with date and time columns?
- Using MySQLi from another class in PHP
- How do I display a MySQL error in PHP for a long query that depends on the user input? [duplicate]
- PHP PDO and MySQLi [duplicate]
- PHP + MySql + Stored Procedures, how do I get access an “out” value?
- Unknown database error in PHP but it exists in PHPMyAdmin
- Can I blindly replace all mysql_ functions with mysqli_?
- php password_verify() hash and pass won’t match
- Get number of rows matched by UPDATE query with PHP mysqli
- How to use mysqli_query() in PHP?
- PHP to MySQL SSL Connections
- Using Prepared Statement, how I return the id of the inserted row?
- Strange problem with the length of the field gotten from database [duplicate]
- PHP prepared statements and transactions in a loop [duplicate]
- When should I close a database connection in PHP?
- Mysqli multiple row insert, simple multi insert query [duplicate]