Update PHP 8.0

This commit is contained in:
ngosang
2022-10-25 22:37:22 +02:00
parent 5620cd4e7d
commit 3f801bf1a5
4 changed files with 29 additions and 27 deletions

View File

@ -18,32 +18,32 @@ RUN set -ex \
mariadb-client \ mariadb-client \
nginx \ nginx \
pcre \ pcre \
php7 \ php8 \
php7-amqp \ php8-bcmath \
php7-bcmath \ php8-ctype \
php7-ctype \ php8-curl \
php7-curl \ php8-dom \
php7-dom \ php8-fpm \
php7-fpm \ php8-gd \
php7-gd \ php8-gettext \
php7-gettext \ php8-iconv \
php7-iconv \ php8-json \
php7-json \ php8-mbstring \
php7-mbstring \ php8-openssl \
php7-openssl \ php8-pecl-amqp \
php7-pdo_mysql \ php8-pdo_mysql \
php7-pdo_pgsql \ php8-pdo_pgsql \
php7-pdo_sqlite \ php8-pdo_sqlite \
php7-phar \ php8-phar \
php7-session \ php8-session \
php7-simplexml \ php8-simplexml \
php7-tokenizer \ php8-tokenizer \
php7-xml \ php8-xml \
php7-zlib \ php8-zlib \
php7-sockets \ php8-sockets \
php7-xmlreader \ php8-xmlreader \
php7-tidy \ php8-tidy \
php7-intl \ php8-intl \
py3-mysqlclient \ py3-mysqlclient \
py3-psycopg2 \ py3-psycopg2 \
py-simplejson \ py-simplejson \
@ -53,6 +53,8 @@ RUN set -ex \
tzdata \ tzdata \
make \ make \
bash \ bash \
&& ln -sf /usr/bin/php8 /usr/bin/php \
&& ln -sf /usr/sbin/php-fpm8 /usr/sbin/php-fpm \
&& rm -rf /var/cache/apk/* \ && rm -rf /var/cache/apk/* \
&& ln -sf /dev/stdout /var/log/nginx/access.log \ && ln -sf /dev/stdout /var/log/nginx/access.log \
&& ln -sf /dev/stderr /var/log/nginx/error.log \ && ln -sf /dev/stderr /var/log/nginx/error.log \

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
exec php-fpm7 -F exec php-fpm -F