Skip to content
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

php-worker does not work with Mongo #2038

Closed
fat4lix opened this issue Mar 8, 2019 · 2 comments
Closed

php-worker does not work with Mongo #2038

fat4lix opened this issue Mar 8, 2019 · 2 comments
Labels

Comments

@fat4lix
Copy link

fat4lix commented Mar 8, 2019

I ran into this issue when using cache and queues. The fact is that the Docker file of the php-worker does not contain the installation php mongodb extension. This can easily be fixed, change

RUN pecl channel-update pecl.php.net && pecl install memcached mcrypt-1.0.1 && docker-php-ext-enable memcached

to

RUN pecl channel-update pecl.php.net && pecl install memcached mcrypt-1.0.1 mongodb && docker-php-ext-enable memcached mongodb

and then rebuild service
docker-compose build --no-cache php-worker

hadavand added a commit to hadavand/laradock that referenced this issue Jun 6, 2019
- Run pecl install monodb and enable the extentions in `laravel-horizon`
  and `php-worker` images
- Remember to rebuild images
hadavand added a commit to hadavand/laradock that referenced this issue Jun 6, 2019
- Run pecl install monodb and enable the extentions in `laravel-horizon`
  and `php-worker` images
- Remember to rebuild images
hadavand added a commit to hadavand/laradock that referenced this issue Jun 7, 2019
- Make sure `INSTALL_MONGO` flag is `true`
- Run pecl install mongodb and enable the extentions in `laravel-horizon`
  and `php-worker` images
- Remember to rebuild images
bestlong pushed a commit that referenced this issue Jul 30, 2019
* Fix:Issue #2038 Install mongodb php extension
- Make sure `INSTALL_MONGO` flag is `true`
- Run pecl install mongodb and enable the extentions in `laravel-horizon`
  and `php-worker` images
- Remember to rebuild images
* INSTALL flag default set false
@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant