title: PHP isn't working with SQLite
body: <p>Okay, so this is my first server I'm setting up.  I have a system running Ubuntu 11.10. I'm running Lighttpd and have PHP set up, but I want PHP and SQLite to work together. I installed them using: </p>
  
  <pre><code>sudo apt-get install lighttpd
  sudo apt-get install php5-cgi
  sudo apt-get install sqlite
  sudo apt-get install php5-sqlite
  </code></pre>
  
  <p>PHP works fine, but any script with a sqlite command in it just returns a blank page. I turned on php error messages and ran this script: </p>
  
  <pre><code>&lt;?php
  echo sqlite_libversion();
  echo "&lt;br&gt;";
  echo phpversion();
  ?&gt;
  </code></pre>
  
  <p>Which returns:</p>
  
  <pre><code>Fatal error: Call to undefined function sqlite_libversion()
  </code></pre>
  
  <p>What's gone wrong? :(</p>
  
  <p><code>php -m</code> produces this:</p>
  
  <blockquote>
    <p>[PHP Modules] bcmath bz2 calendar Core ctype date dba  dom ereg exif
    fileinfo filter ftp gettext hash iconv json libxml mbstring mhash
    openssl pcntl pcre PDO pdo_sqlite Phar posix readline Reflection
    session shmop SimpleXML soap sockets SPL sqlite3 standard sysvmsg
    sysvsem sysvshm tokenizer wddx xml xmlreader xmlwriter zip zlib</p>
  </blockquote>