According to this (Installing OCI8 from PECL, automated), all I have to do is type in pecl oci8 install
.
I don't have a oracle database installed in my system. But i want to connect to the remote system. Do i just need to install oci8 extension library or i need to install both instantclient and the o. I want to share some information about my OCI8 installation to access Oracle databases. If you got errors like 'PHP Startup: Unable to load dynamic library 'oci8.so' or 'checking Oracle Instant.
Use 'pecl install oci8-1.4.10' to install for PHP 4.3.9 - PHP 5.1. The OCI8 extension can be linked with Oracle client libraries from Oracle Database 12, 11, or 10.2.
But that only gets me the following error, repeatedly.
No releases available for package pecl.php.net/oci8
.
Another website suggested that I try pear install pecl/oci8
. Same error happens.
What do I do to fix this?
zack_falcon
1 Answer
I have the same error on Ubuntu LTS 14.04:
Finally the reason is the Proxy problem: my computer is sitting after the company proxy server. Run the following command to add the proxy
Then run the command again, it works as bellow
Here we type in the Oracle Instant client folder as bellow:
Then the command line continue ouputs:
Good luck.
