S
S
strelkovandrey2017-11-16 09:33:31
linux
strelkovandrey, 2017-11-16 09:33:31

How to install OCI8 for PHP7 on Linux?

Good afternoon, I can’t get oci8 to work in php
. I already have variables on the instantclient server, the variables are configured, everything connects and works through the command line.
Now I want to connect oci8 to php and use it with
php-oci8, the config file has been created, they have the line extension=oci8 .so
But on the phpinfo page there is no block with oci8, only you can see that there is a config file in the general list, and the module itself does not seem to be included
. What could be the matter?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Kuznetsov, 2017-11-16
@DarkRaven

On Windows, I had a similar experience, the client and php did not match (x86 architecture and x64 architecture), they installed it without looking, so to speak.
In general, you need to look to see if your oci8 is compatible with the version of the client that is installed on the server.
Then, look at all php logs. at the start, there may be module loading errors.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question