Encountering error Undefined constant "Yajra\Pdo\Oci8\SQLT_BOL" when executing stored procedure.
To be more specific, when binding OUT parameter.
This works on my local machine, but not on the the another machine.
The only difference I noticed between both machine are the OS version and php-oci8.
Can't confirm yet.
Recompiled oci8 on the other machine using instantclient 12.2 and it works fine now.
So maybe this require oci8 with at least instantclient 12.2?
Code snippet of problem
...
$stmt = DB::getPdo()->prepare($sqlQuery);
...
$stmt->bindParam('kd_detil', $kd_detil, 20, SQLT_INT);
// ^ this trigger the error
...
Summary of problem or feature request
Encountering error
Undefined constant "Yajra\Pdo\Oci8\SQLT_BOL"
when executing stored procedure. To be more specific, when binding OUT parameter.This works on my local machine, but not on the the another machine. The only difference I noticed between both machine are the OS version and php-oci8.
Can't confirm yet.Recompiled oci8 on the other machine using instantclient 12.2 and it works fine now. So maybe this require oci8 with at least instantclient 12.2?
Code snippet of problem
System details (My PC, works)
System details (Other Machine, doesnt work)
System details (Other Machine, updated, works)