Oracle PHP Developer Center

Access Oracle Database with the PHP OCI8 extension or the PDO_OCI Driver. PHP OCI8 and PDO_OCI are part of the PHP open source project. They are maintained by Oracle. The PHP OCI8 extension is the premier interface for working with Oracle Database, bringing high performance and availability features to PHP. It is included in PHP bundles and is also available on PECL to update your OCI8 extension in PHP 5.2 and later versions. The extension compiles with Oracle 10.2 or later client libraries. Oracle's standard cross-version database connectivity applies, allowing PHP to connection to multiple versions of Oracle Database. The PDO_OCI interface for PHP's PDO data-abstraction interface is available with PHP bundles.

Ready for Cloud

Deploy PHP in the cloud, or connect to a cloud database

The PHP OCI8 extension and PDO_OCI Driver are cloud ready

Whether PHP is in the cloud or on-premise, you can install PHP OCI8 or PDO_OCI and connect to cloud databases. Follow the normal installation process for the operating system. Cloud specific articles are shown below.

 

PHP OCI8 2.1 Extension for Oracle Database

PHP OCI8 Features

 

  • Open Source
  • Maintained by Oracle
  • SQL and PL/SQL Execution
  • Fetching of large result sets
  • REF CURSORs
  • Implicit Result Sets

 

  • Large Objects: CLOBs and BLOBs
  • Binding and array binding
  • Transaction Management
  • Inbuilt Connection Pooling
  • Database Resident Connection Pooling (DRCP)
  • External Authentication

 

  • Row Prefetching
  • Statement Caching
  • Client Result Caching
  • End-to-end tracing
  • Oracle Database High Availability Features
  • Oracle Net Features including Encryption