I am attempting to connect to an oracle database, however, i keep getting: "PHP message: PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'
I can connect to the oracle database via vanilla PHP just fine (using oci pconnect) but gonig through Phalcon, no such luck.
My connection is:
<?php $connection = new \Phalcon\Db\Adapter\Pdo\Oracle(array( 'dbname' => "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = external-host.com)(PORT = 1521))) (CONNECT_DATA=(SID=A.B)))", 'username' => 'USERNAME', 'password' => 'PASSWORD', 'charset' => 'AL32UTF8', 'options' => [PDO::ATTR_CASE => PDO::CASE_LOWER, PDO::ATTR_PERSISTENT => TRUE,], ));
This is oracle 12.1 on Ubuntu 14. I have the oracle client installed, I can connect to the database via vanilla PHP and via command line, just not through phalcon. Any help is greatly appreciated!!