-
-
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
php-worker does not work with Mongo #2038
Comments
- Run pecl install monodb and enable the extentions in `laravel-horizon` and `php-worker` images - Remember to rebuild images
- Run pecl install monodb and enable the extentions in `laravel-horizon` and `php-worker` images - Remember to rebuild images
- 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
* 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
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. |
Hi again 👋 we would like to inform you that this issue has been automatically |
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
The text was updated successfully, but these errors were encountered: