Skip to content

Commit

Permalink
PHP 5.6 -> 7.1
Browse files Browse the repository at this point in the history
Depends on SMW >= 2.5.x (#55)
  • Loading branch information
hcooper committed Sep 4, 2024
1 parent 2d96c26 commit fe71b14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion webserver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN apt-get -y upgrade
# Install nginx
RUN apt-get install -y --no-install-recommends nginx

ARG PHP_VERSION=5.6
ARG PHP_VERSION=7.1
# Install php and associated packages
# PHP compatibility: https://www.mediawiki.org/wiki/Compatibility#PHP
# Don't start the php service after installation
Expand Down
10 changes: 1 addition & 9 deletions webserver/fpm-pool.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
[www]


user = www-data
group = www-data

Expand All @@ -10,15 +8,9 @@ listen = /run/php/php-fpm.sock
listen.owner = www-data
listen.group = www-data

#pm = dynamic
pm.max_children = 16
#pm.start_servers = 2
#pm.min_spare_servers = 1
#pm.max_spare_servers = 3

pm = ondemand
pm.max_children = 16
pm.process_idle_timeout = 10s
pm.max_requests = 200

request_terminate_timeout = 30s
request_terminate_timeout = 30s

0 comments on commit fe71b14

Please sign in to comment.