Brief introduction to problem:
I need to load pdo_mysql to run command php app/console doctrine:database:create
and other commands for Symfony2.
I found a way to do this by running php -c "path/to/my/php.ini" app/console doctrine:database:create
Problem:
Since I don't want to add the path to my php.ini everytime I run commands in PHP CLI, where/how can I setup Windows, so that everytime I type php somecommand
in console it will load my desired php.ini file?