fixed php-fpm install phalcon ext bug (#1811)

* add phalcon ext
* fixed phalcon install
* update index.md
* php-worker install phalcon ext
This commit is contained in:
Frank Yuan
2019-01-10 10:56:30 +08:00
committed by Shao Yu-Lung (Allen)
parent 03ff791e17
commit 04f071555c
5 changed files with 22 additions and 2 deletions

View File

@ -536,11 +536,12 @@ RUN if [ $INSTALL_PHALCON = true ]; then \
&& unzip -d /tmp/ /tmp/cphalcon.zip \
&& cd /tmp/cphalcon-${LARADOCK_PHALCON_VERSION}/build \
&& ./install \
&& 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 \
&& rm -rf /tmp/cphalcon* \
;fi
# Copy phalcon configration
COPY ./phalcon.ini /usr/local/etc/php/conf.d/phalcon.ini
###########################################################################
# APCU:
###########################################################################