Re: [PHP-DB] About Berkeley DB2 Databases

2001-11-15 Thread Ricardo Núñez

Mensaje citado por: Pierre-Alain Joye [EMAIL PROTECTED]:

 On Wed, 14 Nov 2001 16:56:47 -0400 (VET)
 Ricardo Núñez [EMAIL PROTECTED] wrote:
 
  Mensaje citado por: Pierre-Alain Joye
 [EMAIL PROTECTED]:
  
I just put '--with-db2'. I suppose it compiled its Berkeley db2
 code.
   Other thing, I use PHP 4.0.6.

   me too ;) but php not... every others tools on my station recognizes
 the
   db,db2 and db3 support, php not.
   
   Which lib do you have ? any link ? (or email :)
 ldconfig -p | grep db
 
 :)
 
 pa
 
 -- 
 PHP Database 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]
 
 



Saludos,

   Ing. Ricardo Núñez
   Webmaster de la DST
   Universidad Simón Bolívar
   E-Mail: [EMAIL PROTECTED]


libthread_db.so.1 (libc6) = /lib/libthread_db.so.1
libthread_db.so (libc6) = /usr/lib/libthread_db.so
libpwdb.so.0 (libc6) = /lib/libpwdb.so.0
libpwdb.so (libc6) = /lib/libpwdb.so
libnss1_db.so.1 (libc6) = /lib/libnss1_db.so.1
libnss1_db.so (libc6) = /usr/lib/libnss1_db.so
libnss_db.so.2 (libc6) = /lib/libnss_db.so.2
libnss_db.so.1 (libc6) = /lib/libnss_db.so.1
libnss_db.so (libc6) = /usr/lib/libnss_db.so
libndbm.so (libc6) = /usr/lib/libndbm.so
libkdb5.so.3 (libc6) = /usr/kerberos/lib/libkdb5.so.3
libkdb5.so (libc6) = /usr/kerberos/lib/libkdb5.so
libgdbm.so.2 (libc6) = /usr/lib/libgdbm.so.2
libgdbm.so (libc6) = /usr/lib/libgdbm.so
libdb1.so.2 (libc6) = /lib/libdb1.so.2
libdb1.so (libc6) = /usr/lib/libdb1.so
libdb_tcl.so (libc6) = /usr/lib/libdb_tcl.so
libdb_tcl-3.1.so (libc6) = /usr/lib/libdb_tcl-3.1.so
libdb_cxx.so (libc6) = /usr/lib/libdb_cxx.so
libdb_cxx-3.1.so (libc6) = /usr/lib/libdb_cxx-3.1.so
libdb.so.3 (libc6) = /lib/libdb.so.3
libdb.so.2 (libc6) = /lib/libdb.so.2
libdb.so (libc6) = /usr/lib/libdb.so
libdb.so (libc6) = /lib/libdb.so
libdb-3.1.so (libc6) = /usr/lib/libdb-3.1.so
libdb-3.1.so (libc6) = /lib/libdb-3.1.so



-- 
PHP Database 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]


RE: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Gonzalez, Lorenzo

I thought '--with-db2' meant you'd get a DB2 (IBM) driver... what has
DB2 got to do with Berkeley?
 
An I suffering a bit of confusion between IBM's DB2 product, and
Berkeley database tables, and PHP's support of these?
 
-Lorenzo

-Original Message- 
From: Ricardo Núñez 
Sent: Wed 11/14/2001 2:21 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: [PHP-DB] About Berkeley DB2 Databases



Hello,

I read a paper about Berkeley DB2 databases and I have a few
doubts about PHP db2 support

I compiled my php with --with-db2 option...

1) How can I create a Berkeley db2 database with the Berkeley
DB Concurrent Access Method I want. Let's say... a B+Tree ... or hash
method. USING php.

2) How can I use structured data (like objects) as values of a
Berkeley database USING php (I read
http://www.dst.usb.ve/manuales/php-eng/function.dba-insert.html
function, but it assumes only a string).

Thank you very much,

Ricardo Núñez
[EMAIL PROTECTED]

--
PHP Database 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]






RE: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Ricardo Núñez

Mensaje citado por: Gonzalez, Lorenzo [EMAIL PROTECTED]:



 I thought '--with-db2' meant you'd get a DB2 (IBM) driver... what has


 DB2 got to do with Berkeley?


  


 An I suffering a bit of confusion between IBM's DB2 product, and


 Berkeley database tables, and PHP's support of these?


  



I can tell you that IBM DB2 is a RELATIONAL Database Management system, but Berkeley 
Databases are not, but the could be the BASE of a relational database management 
system (if you want read http://www.sleepycat.com/docs/ref/refs/bdb_usenix.html).

--with-db2 include BERKELEY DB2 (BERKELEY Databases version # 2) support.

--with-ibm-db2 IS the option to include IBM DB2 support.

I'm learning about Berkeley DB2 files because the are used in Linux systems and the 
are efficient.



 -Lorenzo


 


   -Original Message- 


   From: Ricardo Núñez 


   Sent: Wed 11/14/2001 2:21 PM 


   To: [EMAIL PROTECTED] 


   Cc: 


   Subject: [PHP-DB] About Berkeley DB2 Databases


   


   


 


   Hello,


   


   I read a paper about Berkeley DB2 databases and I have a few


 doubts about PHP db2 support


   


   I compiled my php with --with-db2 option...


   


   1) How can I create a Berkeley db2 database with the Berkeley


 DB Concurrent Access Method I want. Let's say... a B+Tree ... or hash


 method. USING php.


   


   2) How can I use structured data (like objects) as values of a


 Berkeley database USING php (I read


 http://www.dst.usb.ve/manuales/php-eng/function.dba-insert.html


 function, but it assumes only a string).


   


   Thank you very much,


   


   Ricardo Núñez


   [EMAIL PROTECTED]


   


   --


   PHP Database 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]


   


   


 


 







Saludos,





   Ing. Ricardo Núñez


   Webmaster de la DST


   Universidad Simón Bolívar


   E-Mail: [EMAIL PROTECTED]



-- 
PHP Database 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]




Re: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Pierre-Alain Joye

On Wed, 14 Nov 2001 16:27:20 -0400 (VET)
Ricardo Núñez [EMAIL PROTECTED] wrote:

 Mensaje citado por: Gonzalez, Lorenzo [EMAIL PROTECTED]:
 
  I thought '--with-db2' meant you'd get a DB2 (IBM) driver... what has
  DB2 got to do with Berkeley?
   
  An I suffering a bit of confusion between IBM's DB2 product, and
  Berkeley database tables, and PHP's support of these?
   
 
 I can tell you that IBM DB2 is a RELATIONAL Database Management system, but Berkeley 
Databases are not, but the could be the BASE of a relational database management 
system (if you want read http://www.sleepycat.com/docs/ref/refs/bdb_usenix.html).
 
 --with-db2 include BERKELEY DB2 (BERKELEY Databases version # 2) support.
 
 --with-ibm-db2 IS the option to include IBM DB2 support.
 
 I'm learning about Berkeley DB2 files because the are used in Linux systems and the 
are efficient.
I never successed to install php with Berk. db2 support. db3 with dba works fine 
(except a bug, store extra suffs when create a new db, in my case it's the script 
itself...).

Any tips welcome.

pa

-- 
PHP Database 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]




Re: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Ricardo Núñez

Hi,

 systems and the are efficient.
 I never successed to install php with Berk. db2 support. db3 with dba
 works fine (except a bug, store extra suffs when create a new db, in my
 case it's the script itself...).
 
 Any tips welcome.
 

I just put '--with-db2'. I suppose it compiled its Berkeley db2 code. Other thing, I 
use PHP 4.0.6.

Saludos,

   Ing. Ricardo Núñez
   Webmaster de la DST
   Universidad Simón Bolívar
   E-Mail: [EMAIL PROTECTED]

-- 
PHP Database 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]




Re: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Pierre-Alain Joye

 I just put '--with-db2'. I suppose it compiled its Berkeley db2 code. Other thing, I 
use PHP 4.0.6.
 
me too ;) but php not... every others tools on my station recognizes the db,db2 and 
db3 support, php not.

Which lib do you have ? any link ? (or email :)

pa

-- 
PHP Database 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]




Re: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Ricardo Núñez

Mensaje citado por: Pierre-Alain Joye [EMAIL PROTECTED]:

  I just put '--with-db2'. I suppose it compiled its Berkeley db2 code.
 Other thing, I use PHP 4.0.6.
  
 me too ;) but php not... every others tools on my station recognizes the
 db,db2 and db3 support, php not.
 
 Which lib do you have ? any link ? (or email :)
 

No problem, but... I don't remember the command to list the libraries... What's
the command? What if I send you a 'rpm -qa'?

 pa
 
 -- 
 PHP Database 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]
 
 



Saludos,

   Ing. Ricardo Núñez
   Webmaster de la DST
   Universidad Simón Bolívar
   E-Mail: [EMAIL PROTECTED]

-- 
PHP Database 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]




RE: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Gonzalez, Lorenzo

Thanks for the clarification of --with-db2 vs. --with-ibm-db2 ... silly
me!
 
To list your libraries:   ldconfig -p 
 
Cheers,
Lorenzo

-Original Message- 
From: Ricardo Núñez 
Sent: Wed 11/14/2001 3:56 PM 
To: Pierre-Alain Joye 
Cc: [EMAIL PROTECTED] 
Subject: Re: [PHP-DB] About Berkeley DB2 Databases



Mensaje citado por: Pierre-Alain Joye
[EMAIL PROTECTED]:

  I just put '--with-db2'. I suppose it compiled its Berkeley
db2 code.
 Other thing, I use PHP 4.0.6.
 
 me too ;) but php not... every others tools on my station
recognizes the
 db,db2 and db3 support, php not.

 Which lib do you have ? any link ? (or email :)


No problem, but... I don't remember the command to list the
libraries... What's
the command? What if I send you a 'rpm -qa'?

 pa

 --
 PHP Database 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]





Saludos,

   Ing. Ricardo Núñez
   Webmaster de la DST
   Universidad Simón Bolívar
   E-Mail: [EMAIL PROTECTED]

--
PHP Database 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]






Re: [PHP-DB] About Berkeley DB2 Databases

2001-11-14 Thread Pierre-Alain Joye

On Wed, 14 Nov 2001 16:56:47 -0400 (VET)
Ricardo Núñez [EMAIL PROTECTED] wrote:

 Mensaje citado por: Pierre-Alain Joye [EMAIL PROTECTED]:
 
   I just put '--with-db2'. I suppose it compiled its Berkeley db2 code.
  Other thing, I use PHP 4.0.6.
   
  me too ;) but php not... every others tools on my station recognizes the
  db,db2 and db3 support, php not.
  
  Which lib do you have ? any link ? (or email :)
ldconfig -p | grep db

:)

pa

-- 
PHP Database 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]