Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

PDO or OCI for php/oracle

722964Sep 16 2009 — edited Sep 28 2009
I skimmed through the 'oracle underground manual' and it said the oci method is prefered. but i was wondering doesn't PDO use some sort of OCI libraries/functions anyway, aka maybe even the same ones?
aka if you use PDO for oracle, does it internally though abstraction use php's oci_connect() to connect to your oracle database?

so basically im also asking... when u enable pdo and its oci .dll...
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
Is the php_pdo_oci.dll just an interface to interact with php's oci functions. Just thought I'd ask cause it seems like they are separate, but i read somewhere pdo uses oci libraries not sure exactly what that means since you have options of oci or pdo and that statement sounds like the technologies merge/overlap a little (at least from pdo's side).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 26 2009
Added on Sep 16 2009
7 comments
8,182 views