Oracle client for Linux

Source: Internet
Author: User

 

Briefly record the installation of the Oracle client in Linux. Oracle client

Http://www.oracle.com/technology/tech/oci/instantclient/index.html

Install PHP to access the Oracle database and install the following two packages (the latest version ).
Oracle-instantclient11.2-basic-11.2.0.2.0.i386.rpm
Oracle-instantclient11.2-devel-11.2.0.2.0.i386.rpm

 

 

Install Oracle client librarys:

Rpm-IVH oracle-instantclient11.2-basic-11.2.0.2.0.i386.rpm <br/> rpm-IVH oracle-instantclient11.2-devel-11.2.0.2.0.i386.rpm <br/> # enter the installation directory <br/> Cd/usr/lib/Oracle/client/11.2/lib/<br /> ln-s libclntsh. so.11.1 libclntsh. so <br/> ln-s libocci. so.11.1 libocci. so <br/> 

PHP compilation Configuration:

-- With-oci8 = shared, instanclient,/usr/lib/oracle/11.2/client/lib -- with-pdo-oci = shared, instanctclient,/usr, 11.2.0.2 

 

After installing PHP, modify PHP. ini and add the oci8.so extension.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.