SQLite and InterWorx 3.x?

I have a customer indicating that they use SQLite, but it is not installed on our machine. :confused:

When trying this out for myself, I get the following error:

Fatal error: Call to undefined function sqlite_open() in /chroot/home/mysuppor/my-support-site.com/html/sqlite.php on line 12

I am unable to install the php-sqlite extension through YUM. Can anyone give me some feedback on this? I’m not look forward to recompiling PHP all together.

Thanks!

Chris

The answer probably depends on what php package you have installed, what the output of

rpm -qi php

Paul

Paul:

Thanks for the reply! Here’s the output as requested:

[root@apollo ~]# rpm -qi php
Name        : php                          Relocations: (not relocatable)
Version     : 5.1.6                             Vendor: CentOS
Release     : 15.el5                        Build Date: Thu 20 Sep 2007 07:25:35 AM PDT
Install Date: Fri 21 Sep 2007 06:13:04 PM PDT      Build Host: builder7.centos.org
Group       : Development/Languages         Source RPM: php-5.1.6-15.el5.src.rpm
Size        : 3250375                          License: The PHP License v3.01
Signature   : DSA/SHA1, Thu 20 Sep 2007 05:04:56 PM PDT, Key ID a8a447dce8562897
URL         : http://www.php.net/
Summary     : The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
Description :
PHP is an HTML-embedded scripting language. PHP attempts to make it
easy for developers to write dynamically generated webpages. PHP also
offers built-in database integration for several commercial and
non-commercial database management systems, so writing a
database-enabled webpage with PHP is fairly simple. The most common
use of PHP coding is probably as a replacement for CGI scripts.

The php package contains the module which adds support for the PHP
language to Apache HTTP Server.