Enabling sqlite in php 5.3.5

Rahul Sundaram metherid at gmail.com
Fri Jan 28 21:44:17 UTC 2011


On 01/29/2011 03:08 AM, Andrew Dietz wrote:
> Thanks guys, I do have php-pdo installed, but there must be something 
> else still missing.
>
> I have a snippet of test code that calls sqlite_open and sqlite_query 
> functions, and they throw errors:
>
> PHP Fatal error:  Call to undefined function sqlite_open() in 
> /var/www/html/test/sqlite.php on line 2
> PHP Fatal error:  Call to undefined function sqlite_query() in 
> /var/www/html/test/sqlite.php on line 3
>
> Again, thanks for the help this far.

Can't debug without the test code.  Try this

http://www.phpro.org/tutorials/Introduction-to-PHP-PDO.html#4.2

Rahul


More information about the users mailing list