Skip to content

Fix sqlsrv installation and enablement #84

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

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

weierophinney
Copy link
Member

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA yes

Description

The 5.10.0 release does NOT include support for PHP 7.3, which caused the install_sqlsrv.sh to fail. However, because we did not have a set -e directive associated with the RUN declaration that invokes the script, the container built without errors.

This patch does two things:

  • Switches to the 5.9.0 release for installing the sqlsrv extension for PHP 7.3.
  • Adds a set -e directive to the RUN line that installs static extensions.

The 5.10.0 release does NOT include support for PHP 7.3, which caused the install_sqlsrv.sh to fail.
However, because we did not have a `set -e` directive associated with the `RUN` declaration that invokes the script, the container built without errors.

This patch does two things:

- Switches to the 5.9.0 release for installing the sqlsrv extension for PHP 7.3.
- Adds a `set -e` directive to the `RUN` line that installs static extensions.

Signed-off-by: Matthew Weier O'Phinney <[email protected]>
@weierophinney weierophinney added this to the 1.19.1 milestone Mar 23, 2022
@weierophinney weierophinney added the Bug Something isn't working label Mar 23, 2022
@weierophinney weierophinney merged commit 9f3d3cd into laminas:1.19.x Mar 23, 2022
@weierophinney weierophinney deleted the fix/sqlsrv-for-7.3 branch March 23, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant