php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30372 dba_open() fails when using the db3 handler
Submitted: 2004-10-09 12:43 UTC Modified: 2004-12-12 15:55 UTC
From: spame at pobox dot sk Assigned:
Status: Not a bug Package: DBM/DBA related
PHP Version: 4.3.9 OS: win xp sp1
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: spame at pobox dot sk
New email:
PHP Version: OS:

 

 [2004-10-09 12:43 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-12 15:55 UTC] sniper@php.net
File permission problem -> not PHP bug but user error.
Ask support questions on an appropriate support forum.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 08:01:27 2024 UTC