This commit is contained in:
kideny 2022-09-27 11:31:56 +08:00
parent 6d03808714
commit e4fe092f26
3 changed files with 9 additions and 9 deletions

View File

@ -855,9 +855,9 @@ 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 \ && docker-php-ext-enable phalcon \
;fi ;fi

View File

@ -318,9 +318,9 @@ 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 \ && docker-php-ext-enable phalcon \
;fi ;fi

View File

@ -1326,9 +1326,9 @@ 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 \ && docker-php-ext-enable phalcon \
;fi ;fi