Hello i am trying to connect to a remote Oracle 11g database from my local system. When i am trying to connect i am getting the following error.
“Fatal error: Call to undefined function oci_connect()”
I’ve gone through the online resources regarding uncommenting the dll in php.ini file and also i’ve tried to copy some dll files from the oralce instant client and place them in the apache bin folder but no use at all.
After making the above changes i still don’t find information OCI8 in phpinfo();
Configure Command cscript /nologo configure.js “–enable-snapshot-build” “–disable-isapi” “–enable-debug-pack” “–without-mssql” “–without-pdo-mssql” “–without-pi3web” “–with-pdo-oci=C:\php-sdk\oracle\x86\instantclient10\sdk,shared” “–with-oci8=C:\php-sdk\oracle\x86\instantclient10\sdk,shared” “–with-oci8-11g=C:\php-sdk\oracle\x86\instantclient11\sdk,shared” “–enable-object-out-dir=…/obj/” “–enable-com-dotnet=shared” “–with-mcrypt=static” “–disable-static-analyze” “–with-pgo”
If we check the above code it is showing C:\php-sdk\oracle\x86\ but i don’t have that folder on my system.
Need some valuable input in solving the above issue asap.