Internet Information Services
Microsoft web server software.
1,244 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi
Could you help me to solve this ?
In IIS with Oracle & php I have this on error log PHP:
PHP Warning: PHP Startup: Unable to load dynamic library 'php_oci8.dll' (tried: C:\php-7.4.33\ext\php_oci8.dll (Access is denied.)
I check on the net what I can do and nothing work.
Kr
Jerry
Thanks for your answer, yes OCI.DLL in oracle and in php/ext I have the php*oci8_*19.dll are ok
now the error is oci_connect(): OCIEnvNlsCreate() failed. There is something wrong with your system - please check that PATH includes the directory with Oracle Instant Client libraries but I have the ORACLE_HOME=D:\Oracle\ora1970
Hi @JerryBE,
You can check that the directory containing the Oracle Instant Client libraries is in your system's PATH environment variable by running the command prompt below. This will show you the list of directories that are currently included in your PATH. Make sure that the directory containing the Oracle Instant Client libraries is listed there. Also note that the version of the Oracle Instant Client library needs to match the version of Oracle you are connecting to.
Or trace the failure with Process Monitor.
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
Add a filter for "process name is w3wp.exe" and recreate the problem. If IIS can't find a dll you will see an I/O looking for the dll in every folder defined in your PATH.
Sign in to comment