serversideup / docker-php

🐳 Production-ready Docker images for PHP. Optimized for Laravel, WordPress, and more!
https://serversideup.net/open-source/docker-php/
GNU General Public License v3.0
1.75k stars 118 forks source link

serversideup/php:8.3-fpm-nginx-alpine:How to install extensions like MongoDB, GMP, and Imagick #454

Closed phpmac closed 3 weeks ago

phpmac commented 3 weeks ago

Steps To Reproduce

serversideup/php:8.3-fpm-nginx-alpine:How to install extensions like MongoDB, GMP, and Imagick

Outcome

serversideup/php:8.3-fpm-nginx-alpine:How to install extensions like MongoDB, GMP, and Imagick

Affected Docker Images

serversideup/php:8.3-fpm-nginx-alpine:How to install extensions like MongoDB, GMP, and Imagick

Anything else?

No response

RadeJR commented 3 weeks ago

Hi, you can find instructions in the docs on the following link: https://serversideup.net/open-source/docker-php/docs/customizing-the-image/installing-additional-php-extensions

Hope this helps!

jaydrogers commented 3 weeks ago

Thanks for chiming in @RadeJR! That link is definitely the answer. Any more questions on how to get started, please refer to our discussions: https://github.com/serversideup/docker-php/discussions

phpmac commented 3 weeks ago

Okay, the problem is solved now, but I need to use supervisor. When I start it after installing and configuring it, it prompts that I do not have permission to start supervisor. How can I resolve this? Because it is necessary to listen to and execute many Laravel commands, such as queue,

jaydrogers commented 3 weeks ago

I'd highly recommend reading our documentation first, then compiling a list of questions for our Discussion area. We like to keep our Issues section specifically for technical issues.

To get you started, I just released v3.4.0-beta1: https://github.com/serversideup/docker-php/releases/tag/v3.4.0-beta1

Although it's in beta, it comes with a ton of developer experience improvements. I intend this release to be live by next week.

You can review our live docs, which are updated for the newest beta version: https://serversideup.net/open-source/docker-php/docs

I strongly advise to NOT use Supervisor, here's why: https://serversideup.net/open-source/docker-php/docs/guide/using-s6-overlay

Any other questions, please open a discussion 👍