Last active
February 4, 2024 12:17
-
-
Save shyd/a03bdddb1fe4363d102c4f34822c5be0 to your computer and use it in GitHub Desktop.
install php imap in dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM php:5-apache | |
RUN apt-get update && \ | |
apt-get install -y \ | |
libc-client-dev libkrb5-dev && \ | |
rm -r /var/lib/apt/lists/* | |
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \ | |
docker-php-ext-install -j$(nproc) imap |
thanks!
Hello, i try to put this code in dockerfile... but not working.
I try on macos...
Hello, i try to put this code in dockerfile... but not working.
I try on macos...
Hi, can you tell what does not work? Error output or sth.?
The code working correctly, but i've a problem... the imap php extension result not enable
The code working correctly, but i've a problem... the imap php extension result not enable
Sorry I can't help you with that.
Try this
# Enable php-imap
RUN apt-get update && \
apt-get install -y \
libc-client-dev libkrb5-dev && \
rm -r /var/lib/apt/lists/*
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl && \
docker-php-ext-install -j$(nproc) imap
tanks very much!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you!