Skip to content

Commit

Permalink
Merge pull request #1 from savannabits/coolsam726-php8.1-patch
Browse files Browse the repository at this point in the history
Support for PHP 8.1
  • Loading branch information
coolsam726 authored Sep 20, 2022
2 parents d09f216 + d48fd3c commit f40e6a5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
8 changes: 3 additions & 5 deletions docker/php8.1/.docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:fpm-alpine
FROM php:8.1-fpm-alpine3.15

LABEL maintainer="Sam Maosa <maosa.sam@gmail.com>"

Expand Down Expand Up @@ -55,14 +55,12 @@ RUN docker-php-ext-configure gd \
fileinfo \
gettext \
gd \
exif \
iconv \
exif
RUN docker-php-ext-install \
intl \
tokenizer \
ldap \
opcache \
pdo_mysql \
pdo_sqlite \
pdo_pgsql \
pdo_dblib \
soap \
Expand Down
8 changes: 8 additions & 0 deletions docker/php8.1/.docker/config/appserver.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ server {
listen [::]:80;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
proxy_read_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
send_timeout 600;
fastcgi_connect_timeout 600;
fastcgi_send_timeout 600;
fastcgi_read_timeout 600;
client_max_body_size 3M;

location / {
root /app/public;
Expand Down
8 changes: 8 additions & 0 deletions docker/php8.x/.docker/config/appserver.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ server {
listen [::]:80;
error_log /var/log/nginx/error.log;
access_log /var/log/nginx/access.log;
proxy_read_timeout 600;
proxy_connect_timeout 600;
proxy_send_timeout 600;
send_timeout 600;
fastcgi_connect_timeout 600;
fastcgi_send_timeout 600;
fastcgi_read_timeout 600;
client_max_body_size 3M;

location / {
root /app/public;
Expand Down

0 comments on commit f40e6a5

Please sign in to comment.