Problem with permissions Win32 dba_open

From: Date: Tue, 28 Dec 2004 23:36:08 +0000
Subject: Problem with permissions Win32 dba_open
Groups: php.db 
Request: Send a blank email to php-db+get-37901@lists.php.net to get a copy of this message
Hi all, Season's Greetings! I am testing my PHP scripts locally under XP Home SP2 / Apache 1.3.23 / PHP 4.3.10 but I can't get a simple DBM script to work. No problem running it on my remote site, under Unix with gdbm though. Locally, phpinfo() gives: DBA support: enabled Supported handlers: cdb cdb_make db3 inifile flatfile This encourages me to think that I could open a database with db3, but I just can't get passed the dba_open command, which always fails with "Permission denied". $db = dba_open("C:\Apache\htdocs\test.db", "c" , "db3") // for example What am I doing wrong please? Thanks for your help, Ian PS This appears to be a fixed bug (http://bugs.php.net/bug.php?id=28122) but I still get "permission denied". Why?

« previous php.db (#37901) next »