This commit is contained in:
kideny 2022-10-05 19:05:19 +08:00
parent 59bf17ffcc
commit 06ff2a34a0

View File

@ -1326,9 +1326,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; \
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/50-phalcon.ini; \
php -m | grep -q 'phalcon' \ php -m | grep -q 'phalcon' \
;fi ;fi