title: pdo_pgsql could not find driver symfony2 + php problems
body: <p>I hope you're all good because i'm not, I have some trouble understand how Symfony 2 does work and I too have a extension problem (Could not find driver).</p>
  
  <p>Firstly, php --ini tells me I have to edit my /etc/php.ini file BUT in my SF2 setting, i'm using Php 7.0.0 from MAMP, using /Applications/MAMP/.../php.ini and /Application/MAMP/../bin/php. So I should be using php 7.0.0 from MAMP shouldn't I ?</p>
  
  <p>My web/config.php tells me "Set "xdebug.max_nesting_level" to e.g. "250" in php.ini* to stop Xdebug's infinite recursion protection erroneously throwing a fatal error in your project." </p>
  
  <p>But i don't have any "xdebug.max" in my /etc/php.ini neither in my /Application/Mamp/../php.ini (I still don't know which one is used ... The one from my MAC or from Mamp ? Meh i'm so lost !)</p>
  
  <p>That's my first problem, knowing which php.ini is used and why it appears to be the one in /etc.</p>
  
  <p>Secondly, i've a "Could not find driver" error when i'm trying to generate bundle with php app/console doctrine:database:create</p>
  
  <p>I searched on stackoverflow but all I found is that i had to check my phpinfo(); which says me that pdo_pgsql is enabled, then I went in /etc/php.ini and MAMP/php.ini to find the ";extension : pdo_pgsql" to uncomment but they already were ... So what's wrong ? </p>
  
  <p>I'm trying to use postgreSQL database with SF2 and edited my config.yml and parameters.yml correctly I think. Here is my config.yml : </p>
  
  <pre><code>doctrine:
  dbal:
      driver:   pdo_pgsql
      host:     "%database_host%"
      port:     "%database_port%"
      dbname:   "%database_name%"
      user:     "%database_user%"
      password: "%database_password%"
      charset:  UTF8
  </code></pre>
  
  <p>Well if anyone could help it'd be really cool, i don't understand why i have so much trouble understanding SF2. 
  I absolutly need to know how to use php from MAMP.</p>