oci_connect

PHP 5, PHP 7, PHP 8, PECL OCI8 >= 1.1.0
oci_connect - Connect to an Oracle database
Manual
Code Examples

Example #1 Basic oci_connect using Easy Connect syntax

PHP Version:

Example #2 Basic oci_connect using a Network Connect name

PHP Version:

Example #3 oci_connect with an explicit character set

PHP Version:

Example #4 Using multiple calls to oci_connect

PHP Version:


Function oci_connect:

Oracle OCI8 Functions

Most used PHP functions