I installed easyphp on win7 and added the php directory to my path.
When I run php -i, I get:
PDO support => enabled
PDO drivers =>
whereas, when querying php via apache, I get:
PDO drivers mysql, sqlite, sqlite2
How could I get these drivers into the console?
CGI typically has a different
php.inifile than CLI. You can find out which .ini file PHP is using withphp_ini_loaded_file(). If you copy the contents of the CGI config (in Debian it’s located in/etc/php5/apache2/php.ini) to your CLI ini file, it might do the trick.