By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,538 Members | 2,225 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,538 IT Pros & Developers. It's quick & easy.

Unable to load dynamic library php_oci8.dll

P: n/a
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
Access is denied.

Error keeps coming up on server. I made sure the security settings were
set on the file and all recursive directories just in case. Moved the
file around everywhere. (c:\winnt\system32, c:\winnt, d drive) Changed
IIS to control password. Tried using both php.ini files. Changed the
extension path.

Php works when I comment oci8 extension on php.ini but immediately stops
when i uncomment it. I'm all out of ideas. Has anyone else had this
problem????

Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Mon, 15 Mar 2004 15:44:20 -0500, Willis Lang <wl***@fitch.math.uwaterloo.ca>
wrote:
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
Access is denied.

Error keeps coming up on server. I made sure the security settings were
set on the file and all recursive directories just in case. Moved the
file around everywhere. (c:\winnt\system32, c:\winnt, d drive) Changed
IIS to control password. Tried using both php.ini files. Changed the
extension path.

Php works when I comment oci8 extension on php.ini but immediately stops
when i uncomment it. I'm all out of ideas. Has anyone else had this
problem????


A thought - perhaps it's not referring directly to php_oci8.dll, but rather to
the DLLs that it loads, i.e. oci.dll from your Oracle home. Check permissions
on that.

The './' at the front of the path is possibly suspect - is extension_dir set
correctly in php.ini?

--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
<http://www.andyh.co.uk> / <http://www.andyhsoftware.co.uk/space>
Jul 17 '05 #2

P: n/a
On Mon, 15 Mar 2004 15:44:20 -0500, Willis Lang
<wl***@fitch.math.uwaterloo.ca> wrote:
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
Access is denied.

Error keeps coming up on server. I made sure the security settings were
set on the file and all recursive directories just in case. Moved the
file around everywhere. (c:\winnt\system32, c:\winnt, d drive) Changed
IIS to control password. Tried using both php.ini files. Changed the
extension path.

Php works when I comment oci8 extension on php.ini but immediately stops
when i uncomment it. I'm all out of ideas. Has anyone else had this
problem????


I got this behaviour until I read the manual, and installed the Oracle
Client on my web server, and then used the Oracle Net Manager to
create a service to connect to.

When I installed this, the dll worked fine in the normal location
c:/php/extentions/- same place as the GD and MS SQL DLLs in my case.

Regards,

Stuart

Jul 17 '05 #3

P: n/a
I've narrowed it down some more. It is definitly an oci8 problem because
i uncommented php_printer.dll and it works fine. Further, i commented out
all the extensions and then forced dll load with the dl() function and
php_printer.dll works while php_oci8.dll doesn't. (doesn't load because
access denied) Help anyone?!?!?!?

On Mon, 15 Mar 2004, Stuart D. wrote:
On Mon, 15 Mar 2004 15:44:20 -0500, Willis Lang
<wl***@fitch.math.uwaterloo.ca> wrote:
Warning: Unknown(): Unable to load dynamic library './php_oci8.dll' -
Access is denied.

Error keeps coming up on server. I made sure the security settings were
set on the file and all recursive directories just in case. Moved the
file around everywhere. (c:\winnt\system32, c:\winnt, d drive) Changed
IIS to control password. Tried using both php.ini files. Changed the
extension path.

Php works when I comment oci8 extension on php.ini but immediately stops
when i uncomment it. I'm all out of ideas. Has anyone else had this
problem????


I got this behaviour until I read the manual, and installed the Oracle
Client on my web server, and then used the Oracle Net Manager to
create a service to connect to.

When I installed this, the dll worked fine in the normal location
c:/php/extentions/- same place as the GD and MS SQL DLLs in my case.

Regards,

Stuart


Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.