标签:
echo ‘extension=oci8.so‘ >> /etc/php7.0/fpm/php.ini
echo ‘extension=oci8.so‘ >> /etc/php7.0/cli/php.ini
mkdir /opt/oracle
cd /opt/oracle
wget instantclient-basic-linux.x64 .zip
wget instantclient-sdk-linux.x64 .zip
unzip \*.zip
cd instantclient_11_2
ln -s libclntsh.so.11.1 libclntsh.so
ln -s libocci.so.11.1 libocci.so
pecl install oci8
标签:
原文地址:http://www.cnblogs.com/anjuncc/p/5844659.html