Posts

Showing posts from November, 2010

Installing oci8 on Centos

Today I have the inclination to resume one of my postponed to-dos, that is to install Oracle instant client and php extension oci8 in two production servers. references : http://shamuntoha.wordpress.com/2010/04/12/centos-oracle-php-database-connect-oci-instantclient-oci8/ http://ubuntuforums.org/showthread.php?t=92528 http://www.jagsiacs.co.uk/node/77 Overview The basic steps are, download and extract basic instant client and SDK instant client. Then do a pecl install oci8 to download and compile oci8 extension. There are few issues I encountered when installing php oci8 extension. pear tried to connect directly to pear server. Must set http_proxy using pear config-set command. missing links. Because I downloaded zip files, and not rpms, there are few missing links when trying to link oci8 with instant client. The solution is to create them manually intermittent compilation problem. One of two compile result in an error, even with exactly the same arguments and environment condition.