> Hi everyone!
> To use de DBA database format, first i had to configurate php with
> --with-db2 option. All works (configure, make and make install). But the
> php script still not works. The line of the script that has a problem
> is:
>
> $id = dba_open ("/home/httpd/html/testes/test.db", "n", "db2");
>
> Fatal error: Call to undefined function: dba_open() in
> /home/httpd/html/testes/teste.php on line 5
That means the --with-db2 didn't take effect somehow.
Check the config.log (?) and config.status (?) files and see if you can find
out why configure ignored your --with-db2
[Basically, dig around in every config.xxx file you can find in the PHP
source directory, and search for db2]
Sometimes it does that and doesn't complain about it for some reason...
Also, double-check that the library (the libphp.so thingie) in your
.../apache/modules/ directory actually has the date you would expect on it.
And, stop your Apache and restart it to get it to load the new PHP library.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]