Specific solutions: https://www.jianshu.com/p/9d077b2f85bf
Found a lot of solutions on the Internet, only this can really solve the problem
Of course, the fundamental problem is that the mysqli library has not been found. We can use the following code to determine whether there is a mysqli Library:
if
(
!
function_ exists
(
‘mysqli_ init’
)
&& amp;
!
extension_ loaded
(
‘mysqli’
)){
echo
‘Wedon
\’
thavemysqli!!!’
;
}
else
{
echo
‘Phewwehaveit!’
;
}
Similar Posts:
- [Solved] PHP Fatal error: Class ‘mysqli’ not found in xxx
- Remember to check the error of no such file or directory in PHP mysqli once
- [Solved] Php5.6.30 environment error call to undefined function imagecreate() compile and install GD Library
- Cannot load php7apache2 to server
- PHP Fatal error: Uncaught Error: Call to undefined function mysql_fetch_array()… [How to Solve]
- Wnmp environment configuration (Windows + nginx + MySQL + PHP)
- Bash Shell: Check File Exists or Not [How to Do]
- Always report uncaught error:[$ injector:modulerr ]Solutions to errors
- Call to undefined function socket_create()
- Eclipse Open Error: “The Eclipse executable launcher was unable to locate its companion shared library”