php: loading oracle driver gives error “Unable to load dynamic library - The specified procedure could not be found.”

前端 未结 2 834
渐次进展
渐次进展 2021-01-13 13:29

I seem to have a strange problem with PHP.

I\'ve migrated a bunch of software from one server to another. On the server some scripts make a connection to Oracle, so

相关标签:
2条回答
  • 2021-01-13 14:05

    Seems like I figured it out and can answer my own question. It looks like XAMPP is delivering a non-suitable ddl with their distribution. The right and most recent oci8 dll's are downloadable here in all possible flavors: http://windows.php.net/downloads/pecl/releases/oci8/2.0.8/. Once I got the right one, it worked like a charm.

    0 讨论(0)
  • 2021-01-13 14:05

    XAMPP comes with PHP compilled with ThreadSafe, so you have to download the file from this directory:

    http://windows.php.net/downloads/pecl/releases/oci8/2.0.8/ …

    Before you paste the 3 DLLs to C:\xampp\php\ext*, append ".old*" to each file. Be sure you have enabled the good DLL according to your version of your Oracle database in the file php.ini. Finally, Restart Apache.

    0 讨论(0)
提交回复
热议问题