#30372 [Opn->Bgs]: dba_open() fails when using the db3 handler
| From: | sniper@php.net | Date: | Sun, 12 Dec 2004 14:55:07 +0000 |
| Subject: | #30372 [Opn->Bgs]: dba_open() fails when using the db3 handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70072@lists.php.net to get a copy of this message | ||
ID: 30372
Updated by: sniper@php.net
Reported By: spame at pobox dot sk
-Status: Open
+Status: Bogus
Bug Type: DBM/DBA related
Operating System: win xp sp1
PHP Version: 4.3.9
New Comment:
File permission problem -> not PHP bug but user error.
Ask support questions on an appropriate support forum.
Previous Comments:
------------------------------------------------------------------------
[2004-10-09 12:43:31] spame at pobox dot sk
Description:
------------
my os: win xp sp1
my php: 4.3.9
my web server: apache/1.3.29 (win32) php/4.3.9
i have the same problem as was described in bug #17559 or #28122 (but
with other os ond/or higher php version). i followed all steps to solve
my problem with dba_open() function with db3 handler, but nothing helps
me...
of course, i have php_dba.dll included as an extension (specified in
php.ini), and phpinfo()'s dba section shows that dba is enabled and the
db3 handler is available handler
of course, the path to dba file is correct.
of course, all user hava are able to access dba file.
if i change db3 handler for inifile or flatfile handler, everithing
working.
thanks in advance
Reproduce code:
---------------
$fp = dba_open(PATH_TO_FILE.'/qui2id', 'c', 'db3')
Expected result:
----------------
create 'qui2id' file and return a valid dba identifier resource
Actual result:
--------------
Notice: dba_open(): read: 0x173f47c, 256: Permission denied in
e:\www\index.php on line 92
Notice: dba_open(): e:/www/cache/qui2id: Permission denied in
e:\www\index.php on line 92
Warning: dba_open(e:/www/cache/qui2id,c): Driver initialization failed
for handler: db3: Permission denied in e:\www\index.php on line 92
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=30372&edit=1