More than likely it's related to this:

extension_dir C:\php5(local) C:\php5(master)

You stated you didn't have a php5 directory. There is another recent topic where we worked with another person on something similar. In order to load the extensions such as mysql it needs to know what directory to look in. So the extension_dir needs to be changed to the proper directory that contains the extensions such as php_mysql.dll