Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: Query 'Professional Php Programming'


Message #1 by "Phil Perks" <philp@w...> on Mon, 7 Aug 2000 16:24:43
Peter,

You probably do not have DBA support compiled into PHP.  That's my guess.
When you compiled PHP, you should have had a line like this when you
configured:  --enable-dba

You can check to see if you did this by creating the following simple page:

<?

echo phpinfo();

?>

At the top of the page outputted, you should see your configure line.  If
you have DBA support, it should also list DBS support somewhere on that
page.

Hope that helps you out some,

Josh Hoover

> 
> Dear support,
> 
> Have been trying to run the non-relational database in chapter 11, in the
> form of an address book. Basically running the code that I've downloaded
> from your site.
> 
> I keep getting:
> 
> Fatal error: Call to unsupported or undefined function dba_open() in
> /home/hea17728/www/address_book.php3 on line 55
> 
> I'm probably missing something very basic if it wont even open the file!
> Any suggestions?
> 
> Many thanks.
> 
> Peter Jolley
> 


  Return to Index