OCI8 extension is very useful for access Oracle databases. This can be linked with Oracle client libraries (Oracle 11, ...). OCI8 can be found the database installation or available Oracle Install client from Oracle. Also support to cross version connectivity. This post describe for PHP OCI8 linked with istant client 11.2.
We have already discussed OCI8 configuration with PHP, this is another method,
Before you can start it, we need to install several oracle environment variables for OCI8, set oracle libraries and mapping to configuration files.
Run the following commands,
Download that package using pecl command or manually,
OCI8 with .tgz format and extract,
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Add this extension to php.ini configure file,
Once you have done it, verify the module by the below command,
Also can be check in phpinfo(); create a PHP file and add line,
Install PHP GD Library: