This commit is contained in:
parent
69ad000be7
commit
6f57be6b22
4 changed files with 23 additions and 0 deletions
|
@ -88,6 +88,10 @@ RUN echo '[opcache]' > /usr/local/etc/php/conf.d/opcache.ini \
|
|||
&& echo '[PHP]' > /usr/local/etc/php/conf.d/memory-limit.ini \
|
||||
&& echo 'memory_limit=1024M' >> /usr/local/etc/php/conf.d/memory-limit.ini
|
||||
|
||||
COPY php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini
|
||||
COPY php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini
|
||||
COPY php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini
|
||||
|
||||
##
|
||||
## CRON SETUP
|
||||
##
|
||||
|
|
11
php-errors.ini
Normal file
11
php-errors.ini
Normal file
|
@ -0,0 +1,11 @@
|
|||
error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
|
||||
log_errors = On
|
||||
|
||||
## For production
|
||||
# display_errors = Off
|
||||
# error_log = /dev/stderr
|
||||
|
||||
## For debugging
|
||||
display_errors = On
|
||||
error_log = /var/log/php-errors.log
|
||||
|
3
php-performance.ini
Normal file
3
php-performance.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
; Maximum amount of memory a script may consume (64MB)
|
||||
memory_limit = 256M
|
||||
max_input_vars = 3000
|
5
php-uploads.ini
Normal file
5
php-uploads.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
file_uploads = On
|
||||
upload_max_filesize = 128M
|
||||
post_max_size = 128M
|
||||
max_execution_time = 1200
|
||||
max_input_time = 120
|
Loading…
Reference in a new issue