wodby / php

Generic PHP docker container images
MIT License
152 stars 103 forks source link

Adds Microsoft Drivers for PHP for SQL Server #119

Closed esolitos closed 4 years ago

esolitos commented 4 years ago

This adds support to Microsoft SQL Server. Info regarding the setup can be found here: https://docs.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-ver15#installing-the-drivers-on-alpine-311

csandanov commented 4 years ago

build fails because new extensions must be added to php_modules file in tests:

Checking PHP modules... Error. PHP modules are not identical.
--- /home/wodby/php_modules.tmp
+++ /home/wodby/expected_modules
@@ -45,7 +45,6 @@
 pdo_mysql
 pdo_pgsql
 pdo_sqlite
-pdo_sqlsrv
 pgsql
 Phar
 posix
@@ -60,7 +59,6 @@
 sodium
 SPL
 sqlite3
-sqlsrv
 standard
 tideways_xhprof
 tidy
Makefile:56: recipe for target 'test' failed
make: *** [test] Error 1

also, should be documented in README