Help! OCI Configuration

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Help! OCI Configuration

Postby daddybhurr » 15. November 2016 07:09

Hello,

I have tried to configure the OCI 12c on xampp V5.6.24. I have configured the PHP INI to allow extension for php_oci8_12c.dll and php_pdo_pci.dll

restarted my apache then tried running basic connection:

$conn = oci_connect('username', 'password', '10.5.212.64:1521/orcl');

running script encountered an error:

Fatal error: Call to undefined function oci_connect() in C:\xampp\htdocs\appserver\oracle.php on line 4

i even tried following this tutorial: https://www.youtube.com/watch?v=KJme5JMxKeo

any ideas how i can make this work? thank you

Regards,
Carl
daddybhurr
 
Posts: 1
Joined: 15. November 2016 06:48
XAMPP version: 5.6.24
Operating System: Windows 7 64bit

Re: Help! OCI Configuration

Postby Nobbie » 15. November 2016 12:31

Run a phpinfo() and look for OCI8 extension if it has been loaded successfully. You may also look into the error_log if there is a message, whether the DLL could not be loaded.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: Help! OCI Configuration

Postby Nobbie » 15. November 2016 12:37

I just checked my Xampp installation and tried to load the extensions php_oci8_12c.dll and php_pdo_pci.dll

It failed due to the problem, that i do not have an OCI.dll on my PC (of course not, as i do not have an Oracle installation). There is a corresponding error message in error_log.
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 122 guests