0

How to connect to oracle db from php?

How to integrate Oracle connection in iis with php7.1? I try everything but no luck. Installed oracle instantclient, set environment path, uncommented .dll files in php.ini but, still unable to connect. So, please help me to fix this.

6th Sep 2018, 2:37 PM
Pavan Karumuri
Pavan Karumuri - avatar
1 Odpowiedź
0
uncomment dlls oci and openssl and restart the server, and check exception when try to connect. the string connection is like //php $db = "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = x.x.x.x)(PORT = 1521)))(CONNECT_DATA=(SID=orcl)))" ;
6th Sep 2018, 5:34 PM
Dayannex
Dayannex - avatar