title: sqlite does not work on localhost in Windows 7 + php
body: <p>I am having problems using sqlite when running my php-files on the localhost (Windows 7 IIS). I have installed IIS, PHP 5.3, xdebug and enabled sqlite in IIS manager. My IDE is phpStorm. PHP works fine. But after the line</p>
  
  <pre><code>$db = new PDO('sqlite:new.db');
  </code></pre>
  
  <p><code>$db = {PDO} [0]</code>. After that, <code>$db-&gt;query($query, SQLITE_BOTH, $error)</code> gives an empty <code>$error</code>, which is what I can understand. However I do not understand why <code>new PDO</code> does not work and does not return any error either. The database is in the root folder, the very same code works on the internet.</p>
  
  <p>Just to be sure, here is the phpinfo output on sqlite: </p>
  
  <pre><code>PDO support   enabled
  PDO drivers   mysql, sqlite, sqlsrv, sqlite2
  </code></pre>
  
  <p>Any idea what can be wrong?</p>