Configure oci8 in xampp php7.18

Asked

Viewed 1,935 times

1

I’m trying to set up oci in xampp with php7.1.8.

I’ve activated the line extension=php_oci8_12c.dll in the php.ini, but when starting the service it gives following message.

Unable to locate procedure entry point OCIContextGetValue in the OCI.dll dynamic link library

inserir a descrição da imagem aqui

  • Hello adventistaam, the answer helped you, there is some doubt regarding her?

  • I went back to the previous version even though it was no problem

  • @adventistaam managed to solve, I’m with a similar problem

1 answer

2


You downloaded the incompatible/wrong client to use with this PHP dll, possibly the architecture of your PHP and the Oracle client are different, for example php is 64bit and the client is 32bit.

Other possibilities:

  • you downloaded a client from wrong version
  • you didn’t install the customer
  • you downloaded an OCI.dll and placed it in the same PHP folder (remove it if you have done so "undo")

Regardless of what you did before, undo (doing the required backups before) and then first let’s identify the architecture and some relevant data just in case you want to install an external extension, create a file called info.php and add this:

<?php
phpinfo();

See the relevant information before installing the Oracle client (in this case only the architecture is relevant to you):

phpinfo

After checking the architecture and the compiler download the appropriate client, your PHP is probably 64bit, but I’m not sure:

Other customers:

Remove the client you already have installed and install what you downloaded.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.