jewel
jewel

Reputation: 41

can not connect to oracle database using PHP 5.6.14 - OCI Connect issue

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 ..

Upvotes: 3

Views: 6620

Answers (1)

Muhammad Muazzam
Muhammad Muazzam

Reputation: 2800

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.

Upvotes: 3

Related Questions