Skip to content

issue under docker #2244

Answered by GautierDele
angryalf asked this question in Q&A
Discussion options

You must be logged in to vote

This issue is not related to the package but:

You can add this to your dockerfile:

 # Install the mongodb extension if [ $(php -r "echo PHP_MAJOR_VERSION;") = "5" ]; then \ pecl install mongo && \ docker-php-ext-enable mongo \ ;else \ pecl install mongodb && \ docker-php-ext-enable mongodb \ ;fi \ 

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by divine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2224 on April 30, 2021 09:59.