Was wondering about the PHP implementation in Kroll.
So far, I have been unable to access, the PDO and the SQL Lite function libraries.
I'm working on a desktop application.
Is there a list of PHP functions that may not work from within Titanium (Desktop, Mobile and iPad)?
When using PHP classes in the top-level namespace you'll need to manually access them like this:
$x = new SimpleXMLElement($someText);
I too have been unable to use SQLite. Whenever I attempt to use it I get the error "Fatal error: Call to undefined function sqlite_open() in…"
It would be really nice to have a database that PHP can work with locally. I am currently trying to build an app that would need to work completely off of a cd rom and some of the libraries that I want to use are reliant on PHP and a local database.
Per the build instructions that they appear to be using http://groups.google.com/group/appcelerator-titanium/web/php-build-notes?pli=1 is looks like they don't have SQLite support compiled in.
You would need to build Titanium yourself, and modify the
configureline to include
This will ensure that SQLite support is included in the titanium build.