I want to use PDO but I\'m not sure whether my hosting has set it up properly.
How can I test, in PHP, whether it is setup and working for MySQL?
For Windows servers, I've found the following useful for checking which PDO extensions are loaded from the command prompt:
php -m|findstr -i pdo_
On my system, that command nets me the following results:
pdo_mysql PDO_ODBC pdo_pgsql pdo_sqlite