How to Use PHP with Oracle


These functions allow you to access Oracle Database 11g, 10g, 9i and 8i. They support SQL and PL/SQL statements. Basic features include transaction control, binding of PHP variables to Oracle placeholders, and support for large object (LOB) types and collections. Oracle's scalability features such as Database Resident Connection Pooling (DRCP) and result caching are also supported.


  1. FreeBSD no longer supports a lang/php5-oci8 port that's compatible with the current PHP 5.3.x series. PHP/Oracle integration seems to be broken for the foreseeable future.