-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚡ increase php timeout and input vars
- Loading branch information
Showing
4 changed files
with
1,993 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ services: | |
|
||
|
||
php: | ||
image: wordpress:6.4.2-fpm | ||
build: php | ||
|
||
expose: | ||
- "9000" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
# | ||
# VERSION 0.5 | ||
# DOCKER-VERSION 25.0.1 | ||
# AUTHOR: Paolo Cozzi <[email protected]> | ||
# DESCRIPTION: A php-fpm container to work with phpmyadmin | ||
# TO_BUILD: docker build --rm -t wordpress_php . | ||
# TO_RUN: docker run -d -P wordpress_php | ||
# TO_TAG: docker tag wordpress_php:latest wordpress_php:0.5 | ||
# | ||
|
||
# Starting from wordpress fpm (which derives from php:5.6.fpm) | ||
FROM wordpress:6.4.2-fpm | ||
|
||
# MAINTAINER is deprecated. Use LABEL instead | ||
LABEL maintainer="[email protected]" | ||
|
||
# synchronize timezone for container | ||
# https://forums.docker.com/t/synchronize-timezone-from-host-to-container/39116 | ||
RUN echo "Europe/Rome" > /etc/timezone | ||
RUN dpkg-reconfigure -f noninteractive tzdata | ||
|
||
# Use the default production configuration | ||
# as suggested in https://github.com/docker-library/docs/blob/master/php/README.md#configuration | ||
RUN mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" | ||
|
||
# add a custom file | ||
COPY "conf.d/custom.ini" "${PHP_INI_DIR}/conf.d/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
;;;;;;;;;;;;;;;;;;; | ||
; Resource Limits ; | ||
;;;;;;;;;;;;;;;;;;; | ||
|
||
; Maximum execution time of each script, in seconds | ||
; https://php.net/max-execution-time | ||
; Note: This directive is hardcoded to 0 for the CLI SAPI | ||
max_execution_time = 180 | ||
|
||
; How many GET/POST/COOKIE input variables may be accepted | ||
max_input_vars = 2048 |
Oops, something went wrong.