0

I've just booted up a homestead VM and want to connect to an advantage database, i need to use an odbc connection. With XAMPP i just edited php.ini

extension=php_pdo_odbc.dll

but on my homestead box I can't see how to enable it. Can anyone point me in the right direction please?

Thanks

bencarter78
  • 3,555
  • 9
  • 35
  • 53

1 Answers1

0

The problem is not that you are using Homestead. The problem is that ODBC is for the Windows platform, instead of Linux.

Looking into questions relating PDO+OSBC and Linux might help you find a way.

Connect PHP to MSSQL via PDO ODBC

Community
  • 1
  • 1
Eduardo Cruz
  • 617
  • 6
  • 18