php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30300 "Permission denied" with db3
Submitted: 2004-10-01 10:44 UTC Modified: 2004-10-01 11:18 UTC
From: mail at dbCF dot de Assigned:
Status: Not a bug Package: DBM/DBA related
PHP Version: 5.0.1 OS: Windows 2000 Pro
Private report: No CVE-ID: None
 [2004-10-01 10:44 UTC] mail at dbCF dot de
Description:
------------
My system:
PHP: 5.0.1
httpd: Apache/2.0.50 (Win32) mod_ssl/2.0.50 OpenSSL/0.9.7c PHP/5.0.1 mod_autoindex/color
OS: Windows 2000 Pro

Take a look on bug #28122 I've the same problem with a different (more actual) system.

Reproduce code:
---------------
$dbh = dba_open('products', 'n', 'db3') or die('No DB! :(');
  dba_insert('Sonic Screwdriver', '23.20', $dbh);
dba_close($dbh);


Expected result:
----------------
No visible output. A file called products should be created.

Actual result:
--------------
Notice: dba_open() [function.dba-open]: read: 0x50df8b8, 256: Permission denied in C:\xampplite\htdocs\dbm.php on line 6

Notice: dba_open() [function.dba-open]: C:\xampplite\htdocs\products: Permission denied in C:\xampplite\htdocs\dbm.php on line 6

Warning: dba_open(products,n) [function.dba-open]: Driver initialization failed for handler: db3: Permission denied in C:\xampplite\htdocs\dbm.php on line 6
No DB! :(

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-01 11:18 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC