title: SQLite throws "undefined function sqlite_open()"
body: <p>I am developing a Desktop application using Titanium in PHP. I am a PHP Web Developer with MySQL DB, new to Desktop with SQLite DB</p>
  
  <p>When I try to open the SQLite DB , it throws a fatal error</p>
  
  <p>the code I used is</p>
  
  <pre><code>if ($db = sqlite_open('mysqlitedb', 0666, $sqliteerror)) {
      sqlite_query($db, 'CREATE TABLE foo (bar varchar(10))');
      sqlite_query($db, "INSERT INTO foo VALUES ('fnord')");
      $result = sqlite_query($db, 'select bar from foo');
      var_dump(sqlite_fetch_array($result));
  } else {
      die($sqliteerror);
  }
  </code></pre>
  
  <p>just the example code in PHP.net</p>
  
  <p>PHP.net says that SQLite is bundled with PHP 5+</p>
  
  <p>the error thrown only in TItanium Studio where as </p>
  
  <p>in my XAMPP it all works fine</p>
  
  <p>Could you help?</p>