File tree Expand file tree Collapse file tree
DOCUMENTATION/content/documentation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1456,6 +1456,19 @@ e) set it to `true`
14561456
14571457
14581458
1459+ <a name =" Install php calendar extension " ></a >
1460+ ## Install php calendar extension
1461+
1462+ 1 - Open the ` .env ` file
1463+ <br >
1464+ 2 - Search for the ` PHP_FPM_INSTALL_CALENDAR ` argument under the PHP-FPM container
1465+ <br >
1466+ 3 - Set it to ` true `
1467+ <br >
1468+ 4 - Re-build the containers ` docker-compose build php-fpm `
1469+
1470+
1471+
14591472
14601473
14611474<br >
Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ services:
143143 - INSTALL_SWOOLE=${PHP_FPM_INSTALL_SWOOLE}
144144 - INSTALL_IMAGE_OPTIMIZERS=${PHP_FPM_INSTALL_IMAGE_OPTIMIZERS}
145145 - INSTALL_IMAGEMAGICK=${PHP_FPM_INSTALL_IMAGEMAGICK}
146+ - INSTALL_CALENDAR=${PHP_FPM_INSTALL_CALENDAR}
146147 volumes :
147148 - ./php-fpm/php${PHP_VERSION}.ini:/usr/local/etc/php/php.ini
148149 - ${APP_CODE_PATH_HOST}:${APP_CODE_PATH_CONTAINER}
Original file line number Diff line number Diff line change @@ -148,6 +148,7 @@ PHP_FPM_INSTALL_LDAP=false
148148PHP_FPM_INSTALL_SWOOLE=false
149149PHP_FPM_INSTALL_PG_CLIENT=false
150150PHP_FPM_INSTALL_PCNTL=false
151+ PHP_FPM_INSTALL_CALENDAR=false
151152
152153### PHP_WORKER ############################################
153154
Original file line number Diff line number Diff line change @@ -469,6 +469,19 @@ RUN if [ ${INSTALL_IMAP} = true ]; then \
469469 docker-php-ext-install imap \
470470;fi
471471
472+ # ##########################################################################
473+ # Calendar:
474+ # ##########################################################################
475+
476+ USER root
477+
478+ ARG INSTALL_CALENDAR=false
479+
480+ RUN if [ ${INSTALL_CALENDAR} = true ]; then \
481+ docker-php-ext-configure calendar && \
482+ docker-php-ext-install calendar \
483+ ;fi
484+
472485# ##########################################################################
473486# Check PHP version:
474487# ##########################################################################
You can’t perform that action at this time.
0 commit comments