This commit is contained in:
kideny 2022-09-27 13:03:28 +08:00
parent 68f6364646
commit 2e31c037cd
3 changed files with 7 additions and 12 deletions

View File

@ -855,9 +855,6 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
&& pecl channel-update pecl.php.net \ && pecl channel-update pecl.php.net \
&& apt-get install -yqq libpcre3-dev; \ && apt-get install -yqq libpcre3-dev; \
pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \ pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
# echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
# && echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \
# && ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-phalcon.ini \
docker-php-ext-enable phalcon \ docker-php-ext-enable phalcon \
;fi ;fi

View File

@ -318,10 +318,8 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
&& pecl channel-update pecl.php.net \ && pecl channel-update pecl.php.net \
&& apt-get install -yqq libpcre3-dev; \ && apt-get install -yqq libpcre3-dev; \
pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \ pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
# echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ docker-php-ext-enable phalcon; \
# && echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ php -m | grep -q 'phalcon' \
# && ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-phalcon.ini \
docker-php-ext-enable phalcon \
;fi ;fi
ARG INSTALL_GHOSTSCRIPT=false ARG INSTALL_GHOSTSCRIPT=false

View File

@ -1326,10 +1326,10 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
&& pecl channel-update pecl.php.net \ && pecl channel-update pecl.php.net \
&& apt-get install -yqq libpcre3-dev; \ && apt-get install -yqq libpcre3-dev; \
pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \ pecl install phalcon-${LARADOCK_PHALCON_VERSION}; \
# echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ echo "extension=psr.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini; \
# && echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini \ echo "extension=phalcon.so" >> /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini; \
# && ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-phalcon.ini \ ln -s /etc/php/${LARADOCK_PHP_VERSION}/mods-available/phalcon.ini /etc/php/${LARADOCK_PHP_VERSION}/cli/conf.d/30-phalcon.ini; \
docker-php-ext-enable phalcon \ php -m | grep -q 'phalcon'; \
;fi ;fi
########################################################################### ###########################################################################