Install Oracle PHP PDO Driver

Instructions for installing Oracle PHP PDO driver on CentOS/RHEL Download Oracle InstantClient RPM files here. Put these files in your server. Download the basic and devel packages. Basic: oracle-instantclient12.1-basic- Devel: oracle-instantclient12.1-devel- Install the downloaded rpm files: $ sudo rpm -ivh oracle-instantclient12.1-basic- $ sudo rpm -ivh oracle-instantclient12.1-devel- $ sudo ln -s /usr/include/oracle/12.1/client64 /usr/include/oracle/12.1/client $ sudo ln -s /usr/lib/oracle/12.1/client64 /usr/lib/oracle/12.1/client Create a file inside /etc/profile.d named oracle.sh and put this as the content: