File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ curl https://packages.microsoft.com/config/debian/10/prod.list -o /etc/apt/sourc
3131apt-get update
3232
3333echo " Install msodbcsql"
34- ACCEPT_EULA=Y apt-get install -y msodbcsql18
34+ # We have to stay with 17 because 18 encrypts the connections by default and that breaks ADOdb/2nd connection
35+ # tests. Only when https://tracker.moodle.org/browse/MDL-77678 is fixed, we can move to odbc18.
36+ ACCEPT_EULA=Y apt-get install -y msodbcsql17
3537
36- ln -fsv /opt/mssql-tools18 /bin/* /usr/bin
38+ ln -fsv /opt/mssql-tools /bin/* /usr/bin
3739
38- # Need 5.11 (or later) for PHP 8.2 support
39- pecl install sqlsrv-5.11.1
40+ # Need 5.12 (or later) for PHP 8.3 support
41+ pecl install sqlsrv-5.12.0
4042docker-php-ext-enable sqlsrv
4143
4244# Keep our image size down..
You can’t perform that action at this time.
0 commit comments