php5.3.3 + CentOS6.6 安装PHP oci8(Oracle)
1)
yum install php-pear
yum install -y php-devel
2)
安装oci rpm
rpm -ivh oracle-instantclient12.1-basic-12.1.0.2.0-1.x86_64.rpm
rpm -ivh oracle-instantclient12.1-devel-12.1.0.2.0-1.x86_64.rpm
rpm -ivh oracle-instantclient12.1-sqlplus-12.1.0.2.0-1.x86_64.rpm
3)
pecl install oci8-1.4.10
4)
service httpd restart
-------------------------------------------------
(php5.3-5.4 pecl install oci8-1.4.10)
pecl install oci8(php7以上可以用此命令,如果此命令执行不成功,因为php版本低)
http://www.hlqf.net/archives/127.html