Closed sybrew closed 8 years ago
Hi!
https://github.com/wpmudev/multi-db/blob/master/db.php#L238-L239 has functions that don't exist anymore in PHP7.
Please consider using /wp-includes/wp-db.php's functions to determine the use of mysql_connect() and mysqli_connect(). This would make the migration to PHP7 much easier :).
/wp-includes/wp-db.php
mysql_connect()
mysqli_connect()
Thanks and have a great day!
See the https://github.com/wpmudev/multi-db/tree/mysqli-merge branch. Not merged yet because of lack of testing, which you are welcome todo!
Thanks Aaron, I'll get to it in May :+1:
Hi!
https://github.com/wpmudev/multi-db/blob/master/db.php#L238-L239 has functions that don't exist anymore in PHP7.
Please consider using
/wp-includes/wp-db.php
's functions to determine the use ofmysql_connect()
andmysqli_connect()
. This would make the migration to PHP7 much easier :).Thanks and have a great day!