My website is PHP. I get this error when I try to access it.
I added this in my PHP code.
error_reporting(E_ALL);
ini_set('display_errors', 1);
it gives tis error in the browser
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/xxxxxxxxx/domains/charityfoundation.org/public_html/config/database.php:5 Stack trace: #0 /home/xxxxxxxxx/domains/charityfoundation.org/public_html/partials/header.php(2): require() #1 /home/xxxxxxxxx/domains/charityfoundation.org/public_html/index.php(4): include('/home/xxxxxxxxx/...') #2 {main} thrown in /home/xxxxxxxxx/domains/charityfoundation.org/public_html/config/database.php on line 5
I added this in my PHP code.
error_reporting(E_ALL);
ini_set('display_errors', 1);
it gives tis error in the browser
Fatal error: Uncaught Error: Class 'mysqli' not found in /home/xxxxxxxxx/domains/charityfoundation.org/public_html/config/database.php:5 Stack trace: #0 /home/xxxxxxxxx/domains/charityfoundation.org/public_html/partials/header.php(2): require() #1 /home/xxxxxxxxx/domains/charityfoundation.org/public_html/index.php(4): include('/home/xxxxxxxxx/...') #2 {main} thrown in /home/xxxxxxxxx/domains/charityfoundation.org/public_html/config/database.php on line 5