title: 'PDOException' with message 'could not find driver' using AppServer
body: <p>I have installed AppServer 2.5.10 (including Apache and MySQL) and I get this error:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'PDOException' with message 'could not
    find driver' in C:\AppServ\www\compras.mysql\bd.php:17 Stack trace: #0
    C:\AppServ\www\compras.mysql\bd.php(17):
    PDO->__construct('mysql:host=loca...', 'root', 'root') #1
    C:\AppServ\www\compras.mysql\datos.php(9): Bd->__construct() #2
    C:\AppServ\www\compras.mysql\index.php(6): categorias() #3 {main}
    thrown in C:\AppServ\www\compras.mysql\bd.php on line 17</p>
  </blockquote>
  
  <p>I already uncommented the "extension=php_pdo_mysql.dll" line in the php.ini document located in Windows but it still doesn´t work.</p>
  
  <pre><code>   function __construct() {
      $this-&gt;usuario = 'root';
      $this-&gt;clave = 'root';
      $this-&gt;dsn = 'mysql:host=localhost;dbname=compras';
      $this-&gt;conn = new PDO(
              $this-&gt;dsn, 
              $this-&gt;usuario, 
              $this-&gt;clave);
  }
  </code></pre>
  
  <p>That´s part of my code. The line stated in the error is the one used to create the new PDO.
  Any idea why it isn´t working?</p>