Mego's avatar
Level 1

PHPUnit can't connect the oracle DB

I have migrated all the MySQL data to SQLite, replace MySQL function (like date_format, concat etc). But the main problem is, I have some data in Oracle DB. On production server everything is good. But when I tried to test the class, PHPUnit can not connect to oracle. I get error like this:

Fatal error: Call to undefined function yajra\Pdo\oci_connect() in C:\wamp\www\usfoot\vendor\yajra\laravel-pdo-via-oci8\src\yajra\PDo\Oci8.php on line 21

0 likes
1 reply
Mego's avatar
Level 1

But I'm really sure, that Yajra works properly, cause on production everything is OK

Please or to participate in this conversation.