Re: dba_open

From: Date: Wed, 01 Aug 2001 15:12:23 +0000
Subject: Re: dba_open
References: 1 2 3  Groups: php.db 
Request: Send a blank email to php-db+get-10952@lists.php.net to get a copy of this message
"Patrick Callihan" <calliha2@msu.edu> wrote in message news:20010801034237.54781.qmail@pb1.pair.com... > I don't seem to have the *.so modules available. When I added the line > 'extension=php_dba.so' to php.ini, nothing changed. When I tried to use the > dl() function, I just got an error message: > Warning: Unable to load dynamic library './php_dba.so' - ./php_dba.so: > cannot open shared object file: No such file or directory in /home/pat/html > > I did a 'find / -name php_dba.so' and came up with nothing. > > Thanks in advance for any help. > > > "Hugh Bothwell" <hugh_bothwell@hotmail.com> wrote in message > news:20010801022733.12179.qmail@pb1.pair.com... > > > > "Patrick Callihan" <calliha2@msu.edu> wrote in message > > news:20010801013453.84530.qmail@pb1.pair.com... > > > HI, > > > > > > I have compiled php4 with the following command: > > > /configure' '--with-mysql' '--with-apache=../apache_1.3.20' > > > '--enable-track-vars' '--enable-tans-sid' '--enable-dba I haven't found any information on where to find/get/make php_dba.so; hopefully someone else can help with that. I would check the directory it's in; should be under php/extensions, I would think. I did find more info on building PHP on *nix; in order to compile dba support in, it looks like you need another switch: http://www.php.net/manual/en/ref.dba.php try adding '--with-gdbm' (for example - it changes depending on exactly which database you are using).

« previous php.db (#10952) next »