Re: Problem with permissions Win32 dba_open
| From: | Ian | Date: | Wed, 29 Dec 2004 09:15:01 +0000 |
| Subject: | Re: Problem with permissions Win32 dba_open | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37905@lists.php.net to get a copy of this message | ||
"Bastien Koert" <bastien_k@hotmail.com> wrote
> is your ms firewall turned on? ms sp2 screws a lot of stuff up..
>
> bastien
Thanks bastien,
I'm running Norton IS 2005, with Windows Firewall switched off.
Whether or not I turn off the Norton firewall results in the same error:
<?php $db = dba_open( "C:/Apache/htdocs/test.db", "c" , "db3" );
?>
Notice: dba_open(): read: 0x12f550, 256: Permission denied in
c:\apache\htdocs\admin\dba.php on line 1
Notice: dba_open(): C:/Apache/htdocs/test.db: Permission denied in
c:\apache\htdocs\admin\dba.php on line 1
Warning: dba_open(C:/Apache/htdocs/test.db,c): Driver initialization failed
for handler: db3: Permission denied in c:\apache\htdocs\admin\dba.php on
line 1
However, this command does create a zero-byte file -
C:\Apache\htdocs\test.db.
Ian