PHP RPMs for Oracle
Good news everyone. We've just released a set of RPMs for PHP which include OCI8 and the Oracle PDO driver, as well as many other PHP extensions. These are for development testing only, as Oracle doesn't support them. The RPMs are based on PHP 5.2.3.
You can download the PHP RPMs from the oss.oracle.com site.
To install them:
As root, run:
rpm -ivh php-common-5.2.3-1.i386.rpm
php-cli-5.2.3-1.i386.rpm php-5.2.3-1.i386.rpm
To verify the PHP RPMs have been installed, run rpm -qa |grep php. You should see:
php-common-5.2.3-1
php-5.2.3-1
php-cli-5.2.3-1
Download oracle-instantclient-basic-10.2.0.3-1.i386.rpm and install it with:
rpm -ivh oracle-instantclient-basic-10.2.0.3-1.i386.rpm
Install PHP's PDO extension with:
rpm -ivh php-pdo-5.2.3-1.i386.rpm
Install PHP's Oracle OCI8 and PDO_OCI extensions with:
rpm -ivh php-oci8-5.2.3-1.i386.rpm
Alison