Hi, I´ve installed Oracle 8i and PHP4 on Windows NT, loaded php_oci8.dll, php_oracle.dll and it works fine.

Now I've installed a second server using the same configuration and can´t load php_oci8.dll. I got a message

"Unable to load php_oci8.dll. Access is denied"

Can anyone help me please?

    7 months later

    I just came up against the same problem and situation (installed on one machine, worked fine, installed on another, "access denied message".

    You can remedy it by allowing the IIS anononymous user READ access on the file system which contains the Oracle bin directory. I'm not an expert on IIS security, but it seems like a fairly safe operation, but perhaps a safer setup exists.... anyhoo it is file system permissions that is the problem

    /alex

      2 months later

      Unable to load dynamic library './php_oci8.dll'-The specified procedure could not be found

        a month later

        Hello,

        I installed PHP on Windows 2000 running IIS 5 and my PHP scripts are working just fine except that when I try to execute my php scripts tied up with oracle it displays the message saying that

        "Fatal error: Call to undefined function: ocilogon() in c:\inetpub\scripts\dbtest.php on line 4"

        I uncommented the two extensions php_oci8.dll & php_oracle.dll and set the extensions directory to "C:\php\extensions\" in php.ini file in WinNT directory and stopped and started the IIS back.

        Now, at the time of restarting the IIS it says

        "Unable to load dynamic library 'C:\php\extensions\php_oci8.dll' - the specified procedure could not be found"

        This is where I am stuck and needs help. Can any of you folks help me with my problem?

        Thanks,

        Rama

          21 days later

          I am having the same problem. Any help is much appreciated.

            7 months later

            Someone please answer this post. This had been bugging me for ages!!

            "Unable to load dynamic library 'php_oci8.dll' - The specified procedure cannot be found"

            Why, why, why?.... As said before all other dll load fine and they are in same directory.

            Cheers,

              13 days later

              Has this question been answered yet because I am recieving the same error when trying to load the oracle dll.

              Unable to load dynamic library 'php_oci8.dll' the specified procedure cannot be found'

                6 days later

                I, too am having problems. I suspect that my problem may be access to the oracle client libraries. I can access Oracle through PHP, but if I try to enable OCI or oracle with IIS, I get errors every time a page is loaded. I noticed the comment above about anonymous use permissions to the oracle bin directory. My question is exactly what gets the Read permission, teh whole oracle directory and all subdirectories, or just the bin directory. I've given permissions to the bin directory and the main oracle directory with no luck. I did'nt want to change permissions on the entire install of oracle if I didn't have to.

                  2 years later

                  Hey Guys,

                   The Access is Denied error message can be corrected by the permissions on the Oracle bin folder as suggested before.
                  
                    If you are not even getting that far and getting the Specified file cannot be found message, you need to edit your php.ini file and change the extension setting to point to where you have the php extensions installed.
                  
                   That should solve any problems you have with connecting to an Oracle database or loading any of the modules.

                  Thanks,

                  Chad
                  Voltage Consulting

                    4 years later

                    Hi,

                    I know that this subject has already been discussed, and i went through many forums, but still cant solve this problem.
                    Since any case/problems has its own specification, i will detail mine and if anyone can suggest/help me i would really appreciate it.

                    Im working on a company that uses Oracle 9, and its installed on a shared NT Library, and my computer has access to the ORACLE_HOME (Read & execute)

                    My computer has -
                    Windows XP Pro SP2
                    PHP 5.2.0
                    Library c:\php\ext exist with both files - php_oci8.dll and php_oracle.dll
                    php.ini is well configured
                    IIS
                    Env variable PATH has link to the oracle shared library (O:\ora92w2000\bin), and to the PHP directory.
                    Env variable NLS_LANG = AMERICAN_AMERICA.WE8ISO8859P1
                    I also copied many DLL files to the windows\system32 library (php5ts.dll, oci.dll ...)

                    Yet when i try to run most basic php with oracle functionality it gives me the usual Error:

                    PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_oci8.dll' - The specified procedure could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\php\ext\php_oracle.dll' - The specified module could not be found. in Unknown on line 0 PHP Fatal error: Call to undefined function oci_connect() in C:\Inetpub\wwwroot\connect.php on line 4

                    Any suggestions?
                    Thanks, Rony.

                      Write a Reply...