CodeIgniter Remote connection Oracle Problem!

Source: Internet
Author: User
Tags codeigniter


db_driver.php

oci8_driver.php

Reply content:


db_driver.php

oci8_driver.php

The experience may be that there is a problem with the Oracle client or that the environment variable does not match.
PHP5. After x, the Oracle client must be a version of 9.0 or more. I'm pretending to be a client of 10.0.
Also don't know if you are Windows or Linux.
Windows needs to configure environment variables.
Linux instructs the Oracle environment path when installing PHP or Apache. It seems like you need to use an Oracle library file and forget what it's called.

CI only need to change the configuration of database.php, do not need to change other files.

Another, finally see now also use CI and even Oracle's children's shoes, hope to make a friend.
I wish you success.

  • Related Article

    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.