title: Uncaught exception 'PDOException' with message 'could not find driver' using Sqlite: mis-configuration?
body: <p>I'm running PHP 5.4.5 on Apache 2.2 on Windows XP.  Twice :-)  Both machines are set up, I think, identically, but one machine works fine while the other one generates the error.  (They're both development machines - one is for developing and the other is a quarantined tester)</p>
  
  <p>I've got the extensions php_pdo.dll, php_pdo_sqlite.dll, and php_sqlite.dll all enabled (though of those, only php_pdo_sqlite.dll is in the ext directory, and pdo_sqlite.dll is actually called php_sqlite3.dll - but I understand that's all as it should be.).  </p>
  
  <p>If it helps, this fails at construction time.  I'm wrapping the PDO with a class of my own: the offending code looks like this:</p>
  
  <p>class </p>
  
  <pre><code>ADO extends PDO {
  
      function __construct ($cnString = 'sqlite:..') {
          parent::__construct ($cnString);
          $this-&gt;setAttribute (PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
      }
  ...
  </code></pre>
  
  <p>but that doesn't explain what's happening, because, as I said, this works fine on the play machine.</p>
  
  <p>I think I'm just going blind and can't see something obvious :-)  Any ideas, folks?</p>
  
  <p>Thanks in advance.</p>