Share the process of connecting to the oracle database using php in windwos. To connect to oracle using php, the basic conditions are 1. you need to install php, 2. install oracle, 3. configure tnsname. ora. The local command line can use sqlplus to
To confirm whether the extension is configured, create a simple PHP script where the Web server can read it.
phpinfo();?>
Load the script to the browser using a URL similar to "http: // localhost: 8888//phpinfo. php. The browser page should contain
Oracle| Object | data
The original developer of a new PHP data object (PDO) Data abstraction Layer gives you a brief introduction to the abstraction layer, focusing on running with Oracle.
Need php:5.0Need other: Oracle 8 or later client
This article mainly introduces how to use php to connect to the oracle database in windwos, explains the necessary conditions for connecting php to oracle, code instances, and troubleshooting, if you need to connect to oracle using php, refer to the
To connect to Oracle using PHP, the basic condition is
1. You need to install PHP,
2. Installation of Oracle,
3. The Tnsname.ora is configured.
The local command line uses Sqlplus to connect to Oracle.
Depending on the version of your machine,
To use PHP to connect to Oracle, the basic condition is1. You need to install PHP,2. Installation of Oracle,3. Tnsname.ora is configured.The local command line uses Sqlplus to connect to Oracle.
Select the 64bit or 32bit PHP program based on your
The original developer at the data abstraction layer of a new PHP Data Object (PDO) briefly introduces this abstraction layer, focusing on running with Oracle.
PHP: 5.0 requiredOther required: Oracle 8 or later client libraryDownload PDO for Oracle (
Use PHP to connect to the Oracle database. With PHP, you can easily connect to the database, request data and display it on your web site, or even modify data in the database. MySQL is a very popular database, and you can easily connect to the
Installation article First of all, PHP support Oracle I first thought of the PDO-related driver, and looked at it really, called Pdo_oci. But also rely on Oracle Instant client, this to the Oracle official website to download: Http://www.oracle.com/
To connect to Oracle using PHP, the basic condition is
1. You need to install PHP,
2. Installation of Oracle,
3. The Tnsname.ora is configured.
The local command line uses Sqlplus to connect to Oracle.
Depending on the version of your machine,
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.