From: mail at dbCF dot de
Operating system: Windows 2000 Pro
PHP version: 5.0.1
PHP Bug Type: DBM/DBA related
Bug description: "Permission denied" with db3
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! :(
--
Edit bug report at http://bugs.php.net/?id=30300&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30300&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30300&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30300&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30300&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30300&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30300&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30300&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30300&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30300&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30300&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30300&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30300&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30300&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30300&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30300&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30300&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30300&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30300&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30300&r=mysqlcfg