fuck apache2, attepmt to configure nextcloud php

This commit is contained in:
2022-10-08 03:04:01 +05:00
parent 8079905530
commit b1c83b2941
4 changed files with 2176 additions and 3 deletions

View File

@ -44,11 +44,11 @@ RUN wget https://packages.sury.org/php/apt.gpg \
&& apt update
#Installing and configure PHP
RUN apt install php${PHPVERSION} -y --no-install-recommends \
RUN apt install php${PHPVERSION}-fpm php${PHPVERSION} -y --no-install-recommends \
&& mkdir /run/php/
#Installing Required PHP Modules
RUN bash -c 'apt install -y php${PHPVERSION}-{fpm,cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends'
RUN bash -c 'apt install -y php${PHPVERSION}-{cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends'
#Installing database connector PHP Modules
RUN bash -c 'apt install -y php${PHPVERSION}-mysql --no-install-recommends'
@ -73,8 +73,9 @@ RUN rm -rv /var/www/html/index.nginx-debian.html \
/etc/nginx/
#Autoconfig defaults
RUN mkdir -pv default_configs/etc/
RUN mkdir -pv default_configs/etc/ default_configs/var/
COPY buildfiles/etc/ default_configs/etc/
COPY buildfiles/var/ default_configs/var/
#autostart files
COPY buildfiles/auto_config.sh .