php - how to install oracle instant client for xampp -


i have xampp windows 1.7.3 installed.

i'm using zend framework , need use pdo_oci8 extension. i've enabled extension - getting error can't find oci.dll file.

i've downloaded instantclient_11_2 zip file oracle. unzipped it. contains bunch of dll files.

how install on windows? need run cmd prompt or move specific folder under xampp?

below find instructions on how configure/install , enable oracle instant client for xampp v7, v5.5 , v5.6.

  1. download , install xampp
  2. modify php.ini in "c:\xampp\php"
    • uncomment following line ";extension=php_oci8_12c.dll  ; use oracle database 12c instant client"
    • restart apache
  3. download 32 bit (php 32 bit no need 64) oracle instant client
    • you need both instant client package - basic and instant client package - sdk
    • unzip both in "c:\php-sdk\oracle\x86\instantclient_12_1" , "c:\php-sdk\oracle\x86\instantclient_12_1\sdk" respectivly
  4. add directory "c:\php-sdk\oracle\x86\instantclient_12_1" windows path veritable
    • under system properties click environment variables
    • edit path variable
    • you need reboot windows
  5. (optional) if want specify oracle connections in the tnsnames.ora file:

thats :)

instruction taken here: http://www.gi-architects.co.uk/2016/11/how-to-install-oracle-instant-client-v12-for-xampp-v7-v5-5-v5-6-windows/


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -