title: Add SqLite to PHP5
body: <p>I'm using Ubuntu 14.04 64 bit and installed the <code>php5</code> package from the repositories which brought Apache with it. Php itself works but when I try to use <code>new SQLiteDatabase([...])</code>, the error</p>
  
  <blockquote>
    <p>Fatal error:  Class 'SQLiteDatabase' not found in [...] on line [...]</p>
  </blockquote>
  
  <p>is printed.</p>
  
  <p>The <code>php.ini</code> in use is <code>/etc/php5/apache2/php.ini</code> (according to <code>phpinfo()</code> (<a href="https://dl.dropboxusercontent.com/u/9402513/phpinfo%28%29.html" rel="nofollow">link to the website it prints</a>)). I noticed that in the <code>php.ini</code> the block</p>
  
  <pre><code>[sqlite]
  ; http://php.net/sqlite.assoc-case
  ;sqlite.assoc_case = 0
  
  [sqlite3]
  ;sqlite3.extension_dir =
  </code></pre>
  
  <p>doesn't set an extension directory. I tried finding files called <code>sqlite3</code> on my system and putting a path to their directories in there, but it didn't work (and I restarted my machine after changing the <code>php.ini</code>).</p>
  
  <p>The package <code>php5-sqlite3</code> doesn't exist for Ubuntu 14.04 but <code>php5-sqlite</code> does and I installed it before trying anything else. I then also installed the packages <code>sqlite3</code> and <code>sqlite</code>, but again: I doesn't work.</p>