I am Trying to establish connection between a laravel app and Oracle DB. I have installed Instant client for Laravel and oci8. I have also updated the oracle path in zshrc to point to oracle files.
export ORACLE_HOME=/opt/oracle/instantclient_19_3 export
LD_LIBRARY_PATH=/opt/oracle/instantclient_19_3 export
OCI_LIB_DIR=/opt/oracle/instantclient_19_3 export
OCI_INC_DIR=/opt/oracle/instantclient_19_3/sdk/sdk/include
. When i test the connection, i get the error
Undefined constant “YajraPdoOCI_DEFAULT”
when i run php-m i can see oci8 listed.
I am using macos Ventura.