That's nothing to do with MySQL, per se.
You are missing file(s) in your PHP installation. PHP file(s), that is, not MySQL file(s).
*READ* the error message: No such file or directory ...
You need to find, download, and install the missing file(s) where PHP is looking for them.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.