first
This commit is contained in:
4
docker/php/custom.ini
Normal file
4
docker/php/custom.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
display_errors = On
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
error_reporting = E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED
|
||||
34
docker/php/php.ini
Normal file
34
docker/php/php.ini
Normal file
@@ -0,0 +1,34 @@
|
||||
; Speech2Text MBIP — PHP Configuration
|
||||
|
||||
[PHP]
|
||||
upload_max_filesize = 210M
|
||||
post_max_size = 215M
|
||||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
memory_limit = 512M
|
||||
|
||||
; Security
|
||||
expose_php = Off
|
||||
display_errors = Off
|
||||
log_errors = On
|
||||
error_log = /var/log/php_errors.log
|
||||
|
||||
; File uploads
|
||||
file_uploads = On
|
||||
upload_tmp_dir = /tmp
|
||||
|
||||
; Session
|
||||
session.cookie_httponly = 1
|
||||
session.cookie_secure = 1
|
||||
session.use_strict_mode = 1
|
||||
session.gc_maxlifetime = 7200
|
||||
|
||||
; Timezone
|
||||
date.timezone = Asia/Kuala_Lumpur
|
||||
|
||||
[opcache]
|
||||
opcache.enable = 1
|
||||
opcache.memory_consumption = 128
|
||||
opcache.max_accelerated_files = 10000
|
||||
opcache.revalidate_freq = 0
|
||||
opcache.validate_timestamps = 0
|
||||
Reference in New Issue
Block a user