The url has changed: https://odan.github.io/2017/03/21/xampp-oracle-driver-setup-v12.html
Last active
May 30, 2024 21:28
-
-
Save odan/4edb46a44721f2ef3bdefe2ea999e2e8 to your computer and use it in GitHub Desktop.
XAMPP - Oracle Driver Setup (v12)
It is important to copy the *.dll files twice.
- To c:\xampp\php
- To c:\xampp\apache\bin
If it's still not working then try to install the Microsoft Visual C++ Redistributable for Visual Studio
PHP 5.6
- The VC11 builds require to have the Visual C++ Redistributable for Visual Studio 2012 x86 or x64 installed
PHP 7.0.x, 7.1.x
- The VC14 builds require to have the Visual C++ Redistributable for Visual Studio 2015 x86 or x64 installed
PHP 7.2.x
Thanks a lot!!!! Works for me!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You say on a 64 bit computer, need to install both the 32 and 64 versions of instant-client...
If you unzip both the 32 and 64 bit instant-clients (so 2 different folders, one for 32, one for 64)...
and then try to copy the .dll's to the php/apache folders... I first copied the 32bit files, then tried the 64bit files...
but it asks to overwrite the oci.dll file (and a few other files)... Should I?
Maybe the 64bit client includes some needed 32bit files and i should only install that one and copy over those .dlls?
I mean like the 64bit client includes ociw32.dll alongside oci.dll
Right now Im running 64bit apache with 64bit php... so i copied the 64bit instant-client dll's over.
Also Im guessing this 'copy .dlls' step maybe doesn't need to happen if you just include the instant-client folder onto the windows PATH?
Going to try that later to see.