Trying to use MAMP and accessing phpMyAdmin returns en error “mysqli is missing” [duplicate]

It all started a couple days ago trying to setup Hesk via MAMP. It was giving me an error during installation I honestly cannot remember, so I decided to try reinstalling MAMP and see if it weould fix the problem.

Now it’s worse than before, I; ve done multiple clean reainstall (also tried re-downloading the setup) but every time I try to access phpMyAdmin it gives me always the same error, which is:

“The mysqli extension is missing. Please check your PHP configuration. See our documentation for more information.”

I’m pretty new to this, so I have honestly no clue on where I can even start looking for a solution in a case like that.

The fact that disturbs me more is that before all that it was working, maybe I was using an older MAMP version? I honestly dont know.
I’ve also done a clean unistall helping me with Revo to remove every possible thing left, and it didnt help either.