This question already has answers here:
Closed 8 months ago.
I execute this on my centos/WHM server :
<?
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!!!
My problem is that:
Fatal error: Class 'mysqli' not found in /home/photosdr/public_html/includes/database.php on line 18
So how can I install it ? Thank you