作者:香港君媚儿上官燕_803 | 来源:互联网 | 2023-05-17 14:51
IexecutethisonmycentosWHMserver:我在centosWHM服务器上执行此操作:<?if(!function_exists(mysqli_
I execute this on my centos/WHM server :
我在centos/WHM服务器上执行此操作:
if (!function_exists('mysqli_init') && !extension_loaded('mysqli')) {
echo 'We don\'t have mysqli!!!';
} else {
echo 'Phew we have it!';
}
?>
Result is: We don't have mysqli!!!
结果是:我们没有mysqli!!!
My problem is that:
我的问题是:
Fatal error: Class 'mysqli' not found in /home/photosdr/public_html/includes/database.php on line 18
致命错误:在/home/photosdr/public_html/包含/数据库中没有找到类的mysqli。php在第18行
So how can I install it ? Thank you
那么我该如何安装它呢?谢谢你!
1 个解决方案