-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build php-fpm with mssql enabled #3357
Comments
Confirmed. Just tried to use SQLSRV this evening... same error |
Awaiting solution here: microsoft/linux-package-repositories#39 |
Does anyone have a solution while we wait? |
This workaround works for me: microsoft/linux-package-repositories#39 (comment) . Key point is using Ubuntu repository. Original: Line 754 in 6c8cb6d
Working: && curl https://packages.microsoft.com/config/ubuntu/22.04/prod.list > /etc/apt/sources.list.d/mssql-release.list \
|
Also be aware that the PECL version switch is obsolete. Use 5.9.0 for PHP 7.3 and 5.10.1 for PHP 7.4 |
Thank you @duchymor, these solutions working for me (tested with php 7.4)
|
Hi 👋 this issue has been automatically marked as |
Hi again 👋 we would like to inform you that this issue has been automatically |
Description:
Error on building php-fpm with mssql enabled
Expected Behavior:
Successful build
Context information:
Output of
git rev-parse HEAD
Output of
docker version
Output of
docker-compose version
System info: Mac, Windows or Linux. Include which disto/version
Steps to reproduce the issue:
git submodule add https://github.com/Laradock/laradock.git
docker-compose up -d php-fpm
Stacktrace & Additional info:
The text was updated successfully, but these errors were encountered: