hi bagi yg berpengalaman dengan php untuk support berkeley db v4.1.25 bagi
bagi donk pengetahuannya
./configure --with-xml --with-apache=../apache_1.3.27 --with-mcrypt --with-n
umber --with-zlib --with-mhash=../mhash-0.8.17 --enable-ftp --enable-magic-q
uotes --disable-debug --enable-trans-sid --enable-track-var --disable-posix
--enable-pic --enable-safe-mode --enable-dio --enable-inline-optimization -e
nable-memory-limit --enable-bcmath --enable-wdxx--with-gdbm --with-db3=/usr/
local/db-4.1.25
^^^^^^^^^^^^^^^^^^^^^^^
kalo saya pake --with-db4 waktu di phpinfo()nya di bagian dba nya malah gak
ada dba3
maopun dba4
di bagian DBA pada saat phpinfo
DBA support enabled
Supported handlers gdbm db3
dan waktu saya akses file db saya mendapatkan error seperti ini
Warning: dba_open(/database/I_StockPick,n) [function.dba-open]: Driver
initialization failed for handler: db3 in /www/index2.php on line 2
dba_open failed
dba handler yg ada sekarang ini saya cantumkan
Handler Notes
dbm Dbm is the oldest (original) type of Berkeley DB style databases.
You should avoid it, if possible. We do not support the compatibility
functions built into DB2 and gdbm, because they are only compatible on the
source code level, but cannot handle the original dbm format.
ndbm Ndbm is a newer type and more flexible than dbm. It still has
most of the arbitrary limits of dbm (therefore it is deprecated).
gdbm Gdbm is the GNU database manager.
db2 DB2 is Sleepycat Software's DB2. It is described as "a
programmatic toolkit that provides high-performance built-in database
support for both standalone and client/server applications.
db3 DB3 is Sleepycat Software's DB3.
db4 DB4 is Sleepycat Software's DB4. This is available since PHP
4.4.0.
cdb Cdb is "a fast, reliable, lightweight package for creating and
reading constant databases." It is from the author of qmail and can be found
here. Since it is constant, we support only reading operations. And since
PHP 4.3.0 we support writing (not updating) through the internal cdb
library.
cdb_make Since PHP 4.3.0 we support creation (not updating) of cdb
files when the bundeled cdb library is used.
flatfile This is available since PHP 4.3.0 for compatibility with the
deprecated dbm extension only and should be avoided. However you may use
this where files were created in this format. That happens when configure
could not find any external library.
saya liat permision file I_StockPick nya uda 644 dan direktory database
permisionnya uda 755
saya juga da coba ubah permision file I_StockPick jadi 777 tapi hasilnya
sama :-/.......
apa yg mesti saya tambahkan agar function dba_open bisa
success?????makase....dan maaf jika msg ini terkirim sebagai html krn saya
copy paste dari web...:|...
saya menggunakan php-4.3.0
berkeley db v 4-1.25
apache 1.3.27
regards
Hendy
--
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3