Enable the MySQL enhanced extension in Discuz_x3.2_sc_utf8, that is, the mysqli extension
1. ;extension=php_mysql.dll, disable mysql extension in php.ini;
2. In the function dependency check, mysqli_connect is supported;
3. After installation, open the blank;
4. Delete the program file, copy the file to the installation directory, edit discuz_x3.2_sc_utf8/source/class/discuz/discuz_database.php, and find the function quote, modify, because it does not make the judgment of extended support:
tiveting
if (is_string($str))
return\. mysql_escape_string($str) .\;
;
*/
if (is_string($str)) {
if(function_exists(“mysqli_connect”)) {
return\. self::$db->escape_string($str) .\;
} else {
return\. mysql_escape_string($str) .\;
}
}
5. Reinstall and install successfully



