The behaviour of these functions is affected by settings in php.ini.
INI_ALL
Here's a short explanation of the configuration directives.
dba.default_handler
The name of the default handler