title: Installing PDO_MYSQL on PHP 5.1.6 using PECL OS: Ubuntu
body: <p>I'm having real problems getting PDO_MYSQL working. </p>
  
  <p>I started by just trying to install the PDO_MYSQL driver via PECL, however when this didn't work I looked round to see if there where any issues reported. It seems that there may be a conflict between the embedded version of PDO and PDO_MYSQL. To that end i decided to reinstall all it's dependencies from PECL.</p>
  
  <p>Environment:</p>
  
  <p>OS: Ubuntu<br>
  PHP Ver: 5.1.6 (Unable to upgrade due to clients live environment)</p>
  
  <p>Procedure Followed:</p>
  
  <pre><code>PECL uninstall PDO_MYSQL
  PECL uninstall PDO
  PECL uninstall mysql
  PECL install mysql
  PECL install PDO
  PECL install PDO_MYSQL
  
  Lines Added to PHP.ini
  extension=mysql.so
  extension=pdo.so
  extension=pdo_mysql.so
  
  apachectl restart
  [warn] php5_module is already loaded, skipping
  </code></pre>
  
  <hr>
  
  <p>I then check PHPINFO to see which modules are installed. I see:</p>
  
  <pre><code>PDO drivers     sqlite2 
  </code></pre>
  
  <p>That's it! </p>
  
  <p>If any one could suggest any solutions to this I'd be deeply grateful. I need MYSQL PDO driver to run zend framework for an upcoming project... and yes I have to use v1.6 due to the PHP version.</p>