Call to undefined function mysqli_init()
当ci3使用PHP8.2,出现问题
An uncaught Exception was encountered
Type: Error
Message: Call to undefined function mysqli_init()
Filename: D:\www\ci3\system\database\drivers\mysqli\mysqli_driver.php
Line Number: 135
Backtrace:
File: D:\www\ci3\index.php
Line: 289
Function: require_once
解决办法:
找到extension_dir,修改为当前PHP版本的ext文件夹