Is there a PHP command I can use to determine if PDO is enabled or disabled?
I know I an manually run phpinfo() and eyeball it, but I have a script I run various web
The proper way of determining that will be using the extension_loaded function:-
if ( extension_loaded('pdo') ) { ....... }
And you might also want to check for the database-specific PDO driver using:-
if ( extension_loaded('pdo_') ) { // e.g., pdo_mysql ....... }