作者:手机用户2502860901 | 来源:互联网 | 2023-05-19 12:49
Iamdoingatutorialandamgettingthiserror:我正在做一个教程,并得到这个错误:Fatalerror:ClassMySQLin
I am doing a tutorial and am getting this error:
我正在做一个教程,并得到这个错误:
Fatal error: Class 'MySQLi' not found (LONG URL) on line 8
致命错误:在第8行没有找到(长URL)类的MySQLi。
The code on line 8 is:
第8行的代码是:
$mysqli = new MySQLi($db_server, $db_user, $db_pass, $db_name) or die(mysqli_error());
I saw online someone said to see if it was turned on in my phpinfo(), but there wasn't anything listed in there under for "mysqli".
我在网上看到有人说,我的phpinfo()上是否打开了它,但在那里没有任何东西被列入“mysqli”。
Also, I am running PHP version 5.2.5
另外,我正在运行PHP 5.2.5版本。
14 个解决方案