File tree Expand file tree Collapse file tree 6 files changed +4
-4
lines changed Expand file tree Collapse file tree 6 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ RUN apk add --no-cache \
4646RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install \
4747 pdo_mysql \
4848 mysqli \
49- opcache \
5049 sockets \
5150 pcntl && \
5251 echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ RUN apk add --no-cache \
4646RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install \
4747 pdo_mysql \
4848 mysqli \
49- opcache \
5049 sockets \
5150 pcntl && \
5251 echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install \
3030 gd \
3131 pdo_mysql \
3232 mysqli \
33- opcache \
3433 sockets \
3534 pcntl && \
3635 echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ RUN CFLAGS="$CFLAGS -D_GNU_SOURCE" docker-php-ext-install \
3030 gd \
3131 pdo_mysql \
3232 mysqli \
33- opcache \
3433 sockets \
3534 pcntl && \
3635 echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
Original file line number Diff line number Diff line change 4949RUN <?= $ CFLAGS ?> docker-php-ext-install \
5050 pdo_mysql \
5151 mysqli \
52+ <?php if (version_compare ($ v , '8.5 ' , '< ' )): ?>
5253 opcache \
54+ <?php endif ; ?>
5355 sockets \
5456 pcntl && \
5557 echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
Original file line number Diff line number Diff line change 3333 gd \
3434 pdo_mysql \
3535 mysqli \
36+ <?php if (version_compare ($ v , '8.5 ' , '< ' )): ?>
3637 opcache \
38+ <?php endif ; ?>
3739 sockets \
3840 pcntl && \
3941 echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && \
You can’t perform that action at this time.
0 commit comments