I found some topics like this in this forum, but still ... it won't work.

i download dll's from swwwing.com and got strange messages like:

Fatal error: Unable to load dynamic library 'c:\php4/php_oci80.dll'
One of the library files needed to run this application cannot be found. in f:\htdocs\oracle\index.php3 on line 2

i think the dll's are not all right.

Can someone provide me dll's wich works?

tx in advance

h.

    what is your Web Server? PWS or Apache? and what version is your php? 4.0.1-dev or 4.0.1pl2.
    I try the php_oci8.dll works in PWS+php4.0.1-dev
    you can try this in your code:
    dl("c:\php4\php_oci8.dll")
    and remember to remark extension in php.ini

      i run php 4.0.0 on Apache/1.3.12 on win98, i did it also with:

      dl("php_oci80.dll");

      now, i download pl2 version and get new strange message:

      One of the library files needed to run this application cannot be found...

        As Nancy said, this dll works on PHP 4.0.1-dev. What the kind folks at swwwing.com have done is compile their own custom version of PHP with more dll's for those of us who are still running Windoze. You need to go back to the site and grab a copy of the php4ts.dll and phpts.exe files found in the core section. Replace your existing php4ts.dll with the one you just downloaded, and edit your Apache config to reflect the fact that phpts.exe is now the PHP executable. Restart Apache and that {should} solve your problems. The only disadvantage to using this distribution is that, to the best of my knowledge, Zend hasn't released a version of the Zend Optimizer which will work with PHP 4.0.1-dev. Hope this helps!!

        Cheers,

        Geoff

          i did all mentioned and i'm afraid it didn't help ...

          i download php version from swwwing with all dll's, change apache httpd.conf ...

          when i try to use script:

          dl("php_oci8.dll");
          putenv("ORACLE_SID=orcl");
          $conn = OCI_Logon("scott","tiger");

          i got this response:

          Fatal error: Unable to load dynamic library 'c:\php4/php_oci8.dll'
          One of the library files needed to run this application cannot be found. in f:\htdocs\oracle\index.php3 on line 2

          when i try to use php_oracle IE stops to respond.

          some other suggestions, any other site with compiled dll's??

          if not, anyway thx for help

            9 days later

            Hi,

            First of all u should download php from download.swwwing.com As this contains all the required dll's Else it will not work.
            Also using putenv ORACLE_SID will also not work so will have to make the SID local in your registry.

            Bye
            Kirti

              i doesn't success in finding the download oh php from www.swwwing.com !!
              can u tell me the address exactly of this web page ??
              do i need a login ??
              thanks
              seb

                8 months later

                I am also facing the same problem. Can you tell me from where I should get these DLL files and where I should place them on my HDD. I'm using PWS on WIN98. Help in this regard would be highly appreciated.

                  Write a Reply...