update config paths for php

This commit is contained in:
2020-05-13 22:09:12 -04:00
parent 976e320ae7
commit e8bdf08137
2 changed files with 3 additions and 2 deletions

View File

@@ -22,6 +22,6 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
&& rm /usr/bin/php && ln -s /usr/bin/php7.1 /usr/bin/php \ && rm /usr/bin/php && ln -s /usr/bin/php7.1 /usr/bin/php \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY ./docker-php-fpm.conf /etc/php/7.1fpm/pool.d/www.conf COPY ./docker-php-fpm.conf /etc/php/7.1/fpm/pool.d/www.conf
CMD ["/usr/sbin/php-fpm7.1", "-F"] CMD ["/usr/sbin/php-fpm7.1", "-F"]

View File

@@ -21,9 +21,10 @@ RUN apt-get update && apt-get install -y software-properties-common python-softw
\ \
&& apt-cache pkgnames | grep php7.2 \ && apt-cache pkgnames | grep php7.2 \
&& rm /usr/bin/php && ln -s /usr/bin/php7.2 /usr/bin/php \ && rm /usr/bin/php && ln -s /usr/bin/php7.2 /usr/bin/php \
&& ln -s /usr/sbin/php-fpm7.2 /usr/sbin/php-fpm
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY ./docker-php-fpm.conf /etc/php/7.2fpm/pool.d/www.conf COPY ./docker-php-fpm.conf /etc/php/7.2/fpm/pool.d/www.conf
CMD ["/usr/sbin/php-fpm7.2", "-F"] CMD ["/usr/sbin/php-fpm7.2", "-F"]