Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP, Oracle 9i, WinXP - can't load oci8.dll

Status
Not open for further replies.

dannyboy999

Programmer
Jul 28, 2000
3
0
0
US
OK - I'm pulling my hair out! I've searched and found several issues with Oracle and PHP but none have fixed my problem.

When I first access any PHP page (even without db access) I get a warning: "Unknown(): Unable to load dynamic library 'c:\php\extensions\php_oci8.dll' - Access is denied."

The dll is there!!! So what else is it looking for? Php.ini has "extension=php_dbx.dll" and "extension=php_oci8.dll" unremarked and the extension path is correct (as displayed by the error message). I have Oracle 9i (9.2) installed and running (SQLPlus & ODBC work fine) on the same box. I have ORACLE_HOME setup as an environmental variable and the ORACLE_HOME/bin is in the path. I'm running WinXP & IIS 5.1.

Any suggestions?
 
Are you sure the user as which the web server runs has read access to the folder the dll is in?
It is obviously a permission problem.
 
I checked security again. I had to turn off that stupid dumbed-down "simple file sharing" in XP. Once I did that, I checked and gave specific read and execute access to IUSR_* & IWAM_* (the user accounts IIS uses) for both the PHP directory and Oracle's directory. Restarted & even re-booted. Still same message. :-(
Any other ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top