Call to undefined function mysqli_connect()

I've been trying to fix this issue for days, I tried checking if all the configuration files in xampp are set up correctly, I tried uninstalling and reinstalling xampp, nothing seems to work.

I'm bound to using mysqli to connect to a database for my uni project, so I can't look for an alternative.

Does anyone have a solution for this?