thinkphp Connection Oracle Database code example description

Source: Internet
Author: User
Keywords thinkphp
Tags aliyun client code configuration developer environment example html

First, the operating environment to build

System: http://www.aliyun.com/zixun/aggregation/12642.html ">WINDOWS7 flagship 64-bit
PHP Environment: wampserver2.2e-php5.4.3-httpd2.2.22-mysql5.5.24 32-bit version
THINKPHP:3.0 Official Edition
ORACLE:ORCALE_11GR2 32-bit version
Database operation tools: Plsql Developer 32-bit
Development tools: NetBeans IDE 7.1.2

Description: Here I repeatedly emphasize the "bit" of software, is because this is very important, under normal circumstances, our system is 64 bits, then the best software also use 64 bits, but here in addition to the system, all choose 32 bits for a reason, the purpose is to cooperate with Plsql developer and Wamp PHP expansion. Because Plsql developer has no 64-bit version. Some friends say with 64-bit Oracle database, 32-bit client on the line, I do not want to do, if I do not like the way I operate, you can bypass. Of course, if you don't use Plsql Developer, and you choose to use Oracle's own SQL Developer, it's your business to install 64 or 32 of them all. PHP to connect to the Oracle database needs to open the appropriate extension, this extension also requires the support of the database client, because the PHP extension also requires the corresponding database client number of digits. Verbose finish.

Ii. Environmental Configuration

1, the installation of the operating system I do not say, Oracle installation itself resolved, NetBeans IDE 7.1.2 also solve their own.

2, the installation of Wamp I do not say, will not be directly from the DOS start to learn again.

3, WAMP will be the PHP Web folder defined in the installation of WAMP folder under the www inside, I was installed in D disk, so is D:\WAMP\www. We don't make any custom modifications for the time being. Start Wamp, the system tray icon is green to start OK.


4, open localhost, see the following interface, indicating that the environment configuration basic OK. Why is basic, because the Oracle configuration has not yet been set up.


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.