Oracle conect database not working

17 views
Skip to first unread message

Marks Mtz

unread,
Nov 22, 2017, 5:45:09 PM11/22/17
to Fat-Free Framework
$f3->set('DB', new \DB\SQL('oci:dbname=//'.$config['host'].':'.$config['port'].'/'.$config['database']));

Result:

Internal Server Error

could not find driver [/var/www/html/proyect/vendor/bcosca/fatfree/lib/DB/SQL.php:522]


My server is Centos 7, with oracle instan client 11.2


Heelp

ved

unread,
Nov 22, 2017, 6:16:08 PM11/22/17
to Fat-Free Framework
Make sure PHP's Oracle driver is installed
Reply all
Reply to author
Forward
0 new messages