|
Posted by topmind on 07/18/06 03:59
Chung Leong wrote:
> topmind wrote:
> > I tried to install the sqlite extension to PHP using "php_sqlite.dll",
> > but I get the following error message:
> >
> > PHP Warning: Unknown(): Unable to load dynamic
> > library './php_sqlite.dll' - Access is denied. in Unknown on line 0
> >
> > I am using IIS on Windows XP for development only. It is Php version
> > 4.3.2. I added all permissions I could, including "write". It is
> > finding the DLL okay because if I rename it I get a "not found" message
> > instead. I cannot tell what the fudge is denying access to what and
> > why.
> >
> > Any help would be appreciated.
> >
> > -t-
>
> That error looks awfully familiar. I've encountered it before while
> trying to build the SQLite extension. I can't quite remember what the
> cause is though. I think it's because the DLL is compiled using VC8 and
> the file is missing its embedded SxS manifest. Where did you get the
> file?
I got the file at:
http://pecl4win.php.net/ext.php/php_sqlite.dll
Perhaps I should also try the 4.4.0 and 4.4.1 versions.
As a last resort, I am thinking about having PHP run SQLite from System
or Exec command line instead of futzin' with DLL's. This is only for
development anyhow. As long as I wrap the functions that access and
parse Sqlite command-results, in theory it would run the same as it
would on a production server with SQLite installed right.......in
theory. I would install PHP5 which is supposed to have SQLite compiled
in, but I have other stuff tied to it. If I upgrade, I'll probably get
a whole new batch of funny incompatibility messages and have to upgrade
all the other gizmos too.
Thanks so far....
-t-
Navigation:
[Reply to this message]
|