3

i want to connect into my oracle database, i use xampp 5.6.14, i already uncomment the extension :

extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client

when i check in php.ini file, it's only have extension

;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client

but in the extension directory, extension_dir="C:\xampp\php\ext" , this dll is saved as

extension=php_oci8_12c.dll

is there any mistake from xampp with this version ? any solution for this case ? thank you ..

7
  • have you already install Oracle Instant Client? if not you can download here Commented Dec 3, 2015 at 4:01
  • I assume you are using windows and trying to connect to Oracle 11g? Please install oracle instant client according to your OS platform. You can download it from oracle.com/technetwork/database/features/instant-client/…, The instant client path should be added to your system path variables. Commented Dec 3, 2015 at 4:02
  • yes. hmmm ... previously i use xampp 1.6.4, and its work fine. now, i update my xampp into 5.6.14. and can not connect into database. is there any different instant client between xampp 1.6.4 and 5.6.14 ? Commented Dec 3, 2015 at 4:24
  • Read this stackoverflow.com/questions/33893407/… entirely with relevant links and you will find solution exactly Commented Dec 3, 2015 at 7:16
  • I think the older files are also working with newer client/server versions, did you try php_oci8_11g.dll ` Commented Dec 3, 2015 at 8:34

1 Answer 1

3

Un-comment this line only:

;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client

then download this file from OCI files

and place missing files in /php/ext folder.

Hope instant client 12.1 already installed and configured.

Sign up to request clarification or add additional context in comments.

4 Comments

i already uncomment the extension, extension=php_oci8.dll; (i used oracle db 10g) and add php_oci8.dll in dir C:\xampp\php\ext , but i got an error when i started the apache. the error said "The procedure entry point php_checkuid could not be located in the dynamic link library php5ts.dll."
Uncomment this: extension=php_oci8_11g.dll only
i use oracle db 10g not 11g, btw, link that you give it to me, can not open
There seem to be mismatch. See this article: devside.net/wamp-server/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.