Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PHP with OCI8 on Windows Server 2012 R2

3227444Apr 26 2016 — edited May 3 2016

Windows server 2012 r2 Standard

64 bit operating System, x64 based processor

Web server : Xampp 3.2.2

PHP : PHP Version 5.6.19

Apache Error log: PHP Warning:  PHP Startup: Unable to load dynamic library '\\xampp\\php\\ext\\php_oci8.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0

I tried all the solutions available on google but it is not working. Initially i tried following oracle guidelines by installing 32 bit instant client libraries but it didn't work. Then I followed below link.

https://blogs.oracle.com/opal/entry/using_php_oci8_with_32-bit_php

It didn't work. Got the same error. Then tried creating symblink(Use 32 and 64bit Oracle Client in parallel on Windows 7 64-bit for e.g. .NET Apps · Realfiction) and it also didn't work. Everytime I get same error as I mentioned above. Please suggest me what am I missing here,

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 30 2016
Added on Apr 26 2016
4 comments
11,912 views