title: PDOException “could not find driver” in php
body: <p>I have installed Lampp on my linux system, and I am learning symfony2, while trying to create the schema with symfony2 command </p>
  
  <pre><code>php app/console doctrine:schema:create
  </code></pre>
  
  <p>I am getting the following error message:-</p>
  
  <pre><code>PDOException “could not find driver”
  </code></pre>
  
  <p>I also uncomment this line <code>extension=php_pdo_mysql.dll</code> in php.ini file</p>
  
  <p>I tried to look and google my issue but couldn't resolve my problem. when i run <code>php -m</code> command i am getting the following result:-</p>
  
  <pre><code>PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysql.so' - /usr/lib/php5/20090626+lfs/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
  PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysqli.so' - /usr/lib/php5/20090626+lfs/mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0
  PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/pdo_mysql.so' - /usr/lib/php5/20090626+lfs/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0
  [PHP Modules]
  bcmath
  bz2
  calendar
  Core
  ctype
  date
  dba
  dom
  ereg
  exif
  fileinfo
  filter
  ftp
  gettext
  hash
  iconv
  json
  libxml
  mbstring
  mhash
  openssl
  pcntl
  pcre
  PDO
  ----
  ----
  </code></pre>
  
  <p>Is there a way i can remove this issue ?</p>