php - THE Procedure entry point OCIstmtgetNextresult could not be located in the dynamic link library oci.dll -


i installed xampp v3.2.2 on pc. want create connection string oracle using php. when start apache on xampp, show popup window "oci.dll missing computer". i've been download oci.dll http://www.dll-found.com/download/o/oci.dll , place inside c/windows/syswow64

but, when start apache on xampp again, show popup window "the procedure entry point ocistmtgetnextresult not located in dynamic link library oci.dll" like screenshot

what should do? thanks

you need download whole of oracle instant client matches os , bitness, e.g. 12.1.0.2 64 bit example, oracle website (you may need create free account).

uncompress contents in folder of choice. add path folder path environment variable.

copy all files within main directory apache/bin folder, 1 contains httpd.exe note subset of these files may copied, can't remember exactly. may work elimination eventually, once have system work.

configure php.ini (the 1 inside apache) activate module:

extension=php_oci8_12c.dll  ; use oracle database 12c instant client 

restart apache. should work.

a similar job may done php in cli mode. in case, copy files oracle instant client php folder, 1 contains php.exe, not ext/ folder. similarly, edit php.ini cli. verify module oci8 gets loaded issuing a:

php -m 

command console. remember should reopen console load latest path variable.