docker
This commit is contained in:
20
docker/php/php.ini
Normal file
20
docker/php/php.ini
Normal file
@@ -0,0 +1,20 @@
|
||||
; Application PHP settings (production-leaning)
|
||||
expose_php = Off
|
||||
memory_limit = 256M
|
||||
max_execution_time = 60
|
||||
|
||||
; File uploads (attendance app — keep modest but comfortable)
|
||||
upload_max_filesize = 20M
|
||||
post_max_size = 21M
|
||||
|
||||
; Timezone (app uses Asia/Kuala_Lumpur)
|
||||
date.timezone = Asia/Kuala_Lumpur
|
||||
|
||||
; OPcache — enabled for production performance
|
||||
opcache.enable = 1
|
||||
opcache.enable_cli = 0
|
||||
opcache.memory_consumption = 128
|
||||
opcache.interned_strings_buffer = 16
|
||||
opcache.max_accelerated_files = 20000
|
||||
opcache.validate_timestamps = 1
|
||||
opcache.revalidate_freq = 60
|
||||
Reference in New Issue
Block a user