Internet Information Services
Microsoft web server software.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
Please check if php_oci8.dll is available in C:\php-7.4.33\ext. Also, oci.dll is installed by oracle and php_oci8.dll is a PHP extension. Make sure oci.dll is available in your server's path. If oci.dll is not present on your server, php_oci8.dll will fail to load.
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
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.
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