if still interested, in case u got old source with many mysql_ functions you could use wrapper functions for mysqli and then include it in any file that uses mysql_ funtions.The Wrapper file may could look like:
(may some functions are missing, as this was all functions i used in mysql_)
<?php
if (PHP_VERSION_ID > 59999)
{
function mysql_connect($a,$b,$c,$d=null) { return mysqli_connect($a,$b,$c,$d); }
function mysql_query($a,$b) { return mysqli_query($b,$a); }
function mysql_affected_rows($a) { return mysqli_affected_rows($a); }
function mysql_close($a) { return mysqli_close($a); }
function mysql_fetch_assoc($a) { return mysqli_fetch_assoc($a); }
function mysql_free_result ($a) { mysqli_stmt_free_result($a); }
function mysql_select_db ($a,$b) { mysqli_select_db($b,$a); }
}
?>
I used above code to quickly migrate some old dirty scripts with many mysql_querys in them. As you got enabled the mysqli extension in your ini-file, it should work for you either.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…