title: Symfony doesn't find pdo_sqlsrv driver
body: <p>I have one problem with Doctrine (or with my server configuration, I don't know where is the problem) in my Symfony2 web. I have been looking for an answer since several days but I haven't found it yet.</p>
  
  <p>I need to connect my symfony web to a remote Microsoft SQL database through Doctrine. For this reason, I have added the "database_driver: pdo_sqlsrv" param in app/config/parameters.yml, but when I try to execute (in my Mac) a command like:</p>
  
  <blockquote>
    <p>php bin/console doctrine:database:create</p>
  </blockquote>
  
  <p>or</p>
  
  <blockquote>
    <p>php bin/console doctrine:generate:entities AppBundle/Entity/Product</p>
  </blockquote>
  
  <p>I get the following error:
  [Doctrine\DBAL\Driver\PDOException] could not find driver
  [PDOException] could not find driver</p>
  
  <p>I have checked the phpinfo and the driver doesn't appear (only mysql, sqlite). I don't know if it's possible to add MSSQL, because in Microsoft SQL Server Functions (<a href="http://php.net/manual/en/ref.pdo-sqlsrv.php" rel="nofollow">PDO_SQLSRV</a>) appears that it needs to be running on a Windows. </p>
  
  <p>Is not possible to access a mssql database without Windows? (If yes, how can I do it).</p>
  
  <p>Would I need a Windows hosting?</p>
  
  <p>Thanks in advance.</p>