berkeley db3 on windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
  i just got my windows/php/db3 env compiled.  But
when I run a simple test script, I get this error:

C:\TEMP>php -f simple.php

Notice: dba_open()
[http://www.php.net/function.dba-open]: read:
0x12f8f4, 256:
Permission denied in C:\TEMP\simple.php on line 3

Notice: dba_open()
[http://www.php.net/function.dba-open]:
testdbcache.db: Permi
ssion denied in C:\TEMP\simple.php on line 3

Warning: dba_open(testdbcache.db,c)
[http://www.php.net/function.dba-open]: Driv
er initialization failed for handler: db3: Permission
denied in C:\TEMP\simple.p
hp on line 3
opened testdbcache.db ->

C:\TEMP>


The script looks like this:
<?php
    $path = "testdbcache.db";
    $id = dba_open($path,"c","db3");
    echo "opened $path -> $id<br>\n";
    if($id)
    {
        dba_close($id);
        echo "closed $path<br>\n";
    }
    else
        echo "nothing opened<br>\n";
?>


It looks like a simple permissions problem, but the
weird thing is that the testdbcache.db file is
actually created in the directory, with 0 length.

has anyone seen this type of error or know how to fix
it?

thanks
dave





__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux