© 2013 All rights reserved.

[Centos] install PHP OCI8 extension

Installing the extension to connect to oracle database on CentOS server.

In the command lines can be specified word <VERSION> – please replace the with version number.

This solution assumed installed apache and php on the server.

We can download packages from oracle sites (http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html)

We will download RPM for this packages:

And we can install this on server:

If everything went ok, we can write to the configuration file: