Announcement
· Dec 6, 2018

InterSystems Cache with Laravel (Eloquent) using ODBC

Hi Community

I have created a simple package that allows the use of Cache with the Laravel Framework.

From my initial testing everything seems to be operating smoothly but I would like to appeal to the PHP users in the community to help me improve this package.

For those of you out there who have time and would be interested in this, please visit the repo at https://github.com/jeandormehl/laracache

Thanks in advance

Discussion (8)1
Log in or sign up to continue

Hi Jean,

Need a help, I try to connect my laravel web app to intersystem cache  using this package but  still not working.

Error Message :

SQLSTATE[01000] SQLDriverConnect: 0 [unixODBC][Driver Manager]Can't open lib '/usr/lib/intersystems/odbc/bin/libirisodbcur6435.so' : file not found

I'm confused in this part :

# create the symlink
sudo ln -s /usr/lib/x86_64-linux-gnu/libodbccr.so.2.0.0 /usr/lib/x86_64-linux-gnu/odbc/libodbccr.so

Thank you in advance

I think this error showing reason is you are not installed the odbc driver of Cache DB.

Please try to download it and install it, after that please try.

Download Locations

https://github.com/intersystems-community/iris-driver-distribution/tree/main/ODBC

Caché ODBC drivers are located here: ftp://ftp.intersystems.com/pub/cache/odbc/

InterSystems IRIS ODBC drivers -- here: ftp://ftp.intersystems.com/pub/iris/odbc/