Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Lutacon's avatar

Laravel Herd w/ODBC + SAP HANA

Hello,

I'm in Mac OS Sequoia 15.0.1 with Laravel Herd. Is it possible to install obdc in the php version of Laravel Herd?

Right now the modules installed are:

php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dba dom exif FFI fileinfo filter ftp gd gettext gmp hash herd iconv igbinary imagick imap intl json ldap libxml mbstring mongodb mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_pgsql pdo_sqlite pgsql Phar posix random readline redis Reflection session shmop SimpleXML soap sockets sodium SPL sqlite3 standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter xsl Zend OPcache zip zlib zstd

0 likes
4 replies
Tray2's avatar

Yes, but you need install them with Homebrew or pecl

You may add additional PHP extensions that are not included out of the box with Herd, by installing them via Homebrew and pecl. The reason for this is that most of these extension have dependencies and can not be statically compiled, and therefore shipped, with Herd.

https://herd.laravel.com/docs/1/advanced-usage/php-extensions

Lutacon's avatar

@Tray2 pdo_odbc is not possible to install them with pecl it's deprecated.

Also with brew i wasn't able to install pdo_odbc

Please or to participate in this conversation.