Howto install sqlite on php4 servers ?

Ferdinant

Active Member
PartnerNOC
Mar 1, 2005
34
0
156
Hi,

I found this very interesting article at phpbuilder about SQLite support for php4 and got it installed using

Code:
pear install sqlite
Now the remaining question is, how can I load this module so that it is available to use for our customers? :rolleyes:

When installed it should be visible when executing a phpinfo() right???
 
Last edited:

Ferdinant

Active Member
PartnerNOC
Mar 1, 2005
34
0
156
Ok, already solved it!

Solution: edit the .php ini so that the extension_dir contains the sqlite.so or make a symlink from the sqlite.so to the extension directory.

Somebody close this thing ;)
 

Ferdinant

Active Member
PartnerNOC
Mar 1, 2005
34
0
156
Forgot to mention the following:

Before installing sqlite, be sure to temporarily remove all the contents after the "disabled_functions" and turn safe mode off in your php.ini

After install put the disabled_functions back and the safe mode back again.
 

erick_paper

Well-Known Member
Apr 19, 2005
245
0
166
I have the same need.

How to install SQLite on my root server, so all the domains can access it?

The tarball (as in the "amalgamation zip" file from here: SQLite Download Page) ?

When that is "phpized", "configured", "Make" etc, then what? Will the .so file be already where it needs to be?

Finally, is there something like PHPMYADMIN for sqlite? If not, how to start creating databases and accessing them through PHP?

Thanks for any simple pointers!