Okay, so it needs to be enabled. Problem is I don’t remember where that file is in a default installation because I’m not using stock PHP. I think it should be in /etc/php.d/mysqli.ini. So let’s start there. Please run
cat /etc/php.d/mysqli.ini
and post what it outputs. If it outputs nothing, then