title: PDOException could not find driver
body: <p>im working with symfony and when i type in console this:</p>
  <pre><code>php app/console doctrine:schema:create
  </code></pre>
  <p>i have the next errors</p>
  <blockquote>
  <p><strong>[Doctrine\DBAL\Exception\DriverException]</strong></p>
  <p>An exception occured in driver: could not find driver</p>
  </blockquote>
  <blockquote>
  <p>[Doctrine\DBAL\Driver\PDOException]<br />
  could not find driver</p>
  </blockquote>
  <blockquote>
  <p>[PDOException]<br />
  could not find driver</p>
  </blockquote>
  <p>I've been following this  link in order to sort it out</p>
  <p><a href="https://stackoverflow.com/questions/9308147/pdoexception-could-not-find-driver-in-php">PDOException “could not find driver” in php</a></p>
  <p>this is what i get when i run <code>php -m</code></p>
  <pre><code>root@asus-K53SD:/opt/lampp/htdocs/symfonycurso# php -m
  [PHP Modules]
  calendar
  Core
  ctype
  date
  dom
  exif
  fileinfo
  filter
  ftp
  gettext
  hash
  iconv
  json
  libxml
  openssl
  pcntl
  pcre
  PDO
  pdo_sqlite
  Phar
  posix
  readline
  Reflection
  session
  shmop
  SimpleXML
  sockets
  SPL
  sqlite3
  standard
  sysvmsg
  sysvsem
  sysvshm
  tokenizer
  wddx
  xml
  xmlr    eader
  xmlwriter
  xsl
  Zend OPcache
  zlib
  Zend Modules
  Zend OPcache
  </code></pre>
  <p>i uncommented this and restart the server</p>
  <p>extension=php_pdo_pgsql.dll</p>
  <p>this is my parameter.yml</p>
  <blockquote>
  <p>Added database_driver  : pdo_mysql and password removed (before was null) <pre> # This file is auto-generated during the composer install
  parameters:
  database_driver  : pdo_mysql
  database_host: 127.0.0.1
  database_port:
  database_name: blog
  database_user: root
  database_password:
  mailer_transport: smtp
  mailer_host: 127.0.0.1
  mailer_user:
  mailer_password:
  secret: ThisTokenIsNotSoSecretChangeIt</pre></p>
  </blockquote>
  <p>anyone know how can i fix this errors?? can be the problem that im working on PHP7</p>
  <p>NOTE: Using lampp on linux</p>