Hi,

Still no good. Am getting: Call to undefined function: sqlite_open(),
when I run a test program.

My configure statement is below.

Have extension=libsqlite.so in my php.ini file.

In /usr/lib/ I have: 
/usr/lib/libsqlite.so
/usr/lib/libsqlite.so.0
/usr/lib/libsqlite.so.0.8.6
/usr/lib/libsqlite.a
/usr/lib/libsqlite.la


If I type php -v, I get: Unknown(): Unable to load dynamic library
'./libsqlite.so' - ./libsqlite.so: cannot open shared object file: No
such file or directory in Unknown on line 0

Rpm -qa | grep sqlite shows: 
sqlite-devel-2.8.6-1
sqlite-2.8.6-1

Running: pear install sqlite, returns:  No releases found for package
'sqlite'. However I did previously manually download and install the
package.

Specifically it looks like:
[EMAIL PROTECTED] html]# pear install sqlite
No releases found for package 'sqlite'
[EMAIL PROTECTED] html]# 

Thanks in advance for any help.

JR





 './configure' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin'
'--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share'
'--include' 'dir=/usr/include' '--libdir=/usr/lib'
'--libexecdir=/usr/libexec' '--localstatedir=/var'
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--prefix=/usr'
'--with-config-file-path=/etc' '--enable-force-cgi-redirect'
'--disable-debug' '--enable-pic' '--disable-rpath'
'--enable-inline-optimization' '--with-bz2' '--with-db3'
'--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr'
'--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf'
'--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp'
'--with-iconv' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl'
'--with-png' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr'
'--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger'
'--enable-exif' '--enable-ftp' '--with-pear=/usr/share/pear'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets'
'--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path'
'--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx'
'--without-oci8' '--with-mysql' '--enable-memory-limit'
'--enable-bcmath' '--enable-shmop' '--enable-versioning'
'--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring'
'--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs'
'--with-sqlite=shared' 

-----Original Message-----
From: Ilia Alshanetsky [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 31, 2003 9:33 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [sqlite] Can't get to work w/ PHP


You need to install the PHP sqlite extension. Which you can accomplish
by 
running "pear install sqlite" as root. Once that is done, add 
extension=sqlite.so to your PHP.ini.

Ilia



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to