ADODB. I've used PDO as well (which is slightly faster), but I found ADO to be a little more robust. Also supports memchached out of the box.
We use this in the Mantis project to define a list of sequential schema definitions, which then gets applied one-by-one to generate or upgrade an installation's database, and it works on MySQL, PostgreSQL, MS SQL, Oracle, and DB2.