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

buyroot's avatar

Setting up SQL Server with Laravel 12

I'm having trouble getting the drivers set up properly for SQL Server. I've installed them using pecl but I keep getting errors when starting up.

I've edited the php.ini file in the herd-lite/bin multiple times to no avail.

Warning: PHP Startup: Unable to load dynamic library 'sqlsrv.so' (tried: /lib/php/extensions/no-debug-non-zts-20240924/sqlsrv.so (Dynamic loading not supported), /lib/php/extensions/no-debug-non-zts-20240924/sqlsrv.so.so (Dynamic loading not supported)) in Unknown on line 0

Any help is appreciated.

1 like
0 replies

Please or to participate in this conversation.