I want to extract data in a gdbm archive for graph it using php.
(My data was produced by ipac-ng compiled with support for gdbm to an
ipcop 1.4.x box)
I tried to rebuild php4 (to TSL2.2), adding:
--with-gdbm
Having no result I have added (modified) the
--enable-dba=shared (was --enable-gda)
and manually copied the "dba.so" in /usr/share/php4
I have no error in complilation.
But when I tried to access to the db via php I have errors.
I use something like:
--------------------------
...
dl('dba.so'); //load the module
$id = dba_open(".DB/data.db", "c", "gdbm");
...
--------------------------
Obtaining:
Warning: dba_open(.DB/data.db,c): Driver initialization failed for
handler: gdbm: File seek error in ....
and so on ...
Any suggestions?
Regards, B.
_______________________________________________
tsl-discuss mailing list
[email protected]
http://lists.trustix.org/mailman/listinfo/tsl-discuss