Hello Carl, i'm having this same issue on a clean installation, as soon as i change the name of my php.ini file i get this warning:
Warning: mysqli::__construct(): The server requested authentication method unknown to the client [caching_sha2_password] in C:\Apache24\htdocs\moodle\lib\dml\mysqli_native_moodle_database.php on line 79
Warning: mysqli::__construct(): (HY000/2054): The server requested authentication method unknown to the client in C:\Apache24\htdocs\moodle\lib\dml\mysqli_native_moodle_database.php on line 79
I do not completely understand what do you mean with this:
Anyway, essentially it would appear that Windows had added its own file type suffix (i.e.; the .ini suffix) to my php.ini file - which in turn, meant that my config file was now php.ini.ini... and therefore my php.ini file was not loading correctly
Can you explain it to me please?
Thank you.