Tuesday, January 30, 2018

debian - "Call to undefined function mysql_connect()" after upgrade to php-7


Warning This extension was deprecated in PHP 5.5.0, and it was removed
in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be
used. See also MySQL: choosing an API guide. Alternatives to this function include:




mysqli_connect()

PDO::__construct()



use MySQLi or PDO



$con = mysqli_connect('localhost', 'username', 'password', 'database');


Read this

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...