fix permission and trouble on mysql docker
This commit is contained in:
@@ -1,21 +1,16 @@
|
||||
; PHP Configuration for CKB Laravel App
|
||||
; PHP Configuration for Laravel
|
||||
|
||||
; Maximum execution time
|
||||
max_execution_time = 300
|
||||
|
||||
; Maximum input time
|
||||
max_input_time = 300
|
||||
|
||||
; Memory limit
|
||||
; General settings
|
||||
memory_limit = 512M
|
||||
|
||||
; Upload settings
|
||||
upload_max_filesize = 100M
|
||||
max_execution_time = 300
|
||||
max_input_time = 300
|
||||
post_max_size = 100M
|
||||
upload_max_filesize = 100M
|
||||
max_file_uploads = 20
|
||||
|
||||
; Error reporting
|
||||
; Error reporting (will be overridden by environment)
|
||||
display_errors = Off
|
||||
display_startup_errors = Off
|
||||
log_errors = On
|
||||
error_log = /var/log/php_errors.log
|
||||
|
||||
@@ -23,14 +18,37 @@ error_log = /var/log/php_errors.log
|
||||
date.timezone = Asia/Jakarta
|
||||
|
||||
; Session settings
|
||||
session.save_handler = files
|
||||
session.save_path = /var/www/html/storage/framework/sessions
|
||||
session.gc_maxlifetime = 1440
|
||||
session.cookie_lifetime = 0
|
||||
session.cookie_secure = Off
|
||||
session.cookie_httponly = On
|
||||
|
||||
; OPcache settings
|
||||
; OPcache settings (for production performance)
|
||||
opcache.enable = 1
|
||||
opcache.enable_cli = 0
|
||||
opcache.memory_consumption = 128
|
||||
opcache.interned_strings_buffer = 8
|
||||
opcache.max_accelerated_files = 4000
|
||||
opcache.revalidate_freq = 2
|
||||
opcache.fast_shutdown = 1
|
||||
opcache.enable_cli = 1
|
||||
|
||||
; Security settings
|
||||
expose_php = Off
|
||||
allow_url_fopen = On
|
||||
allow_url_include = Off
|
||||
|
||||
; File uploads
|
||||
file_uploads = On
|
||||
upload_tmp_dir = /tmp
|
||||
|
||||
; MySQL settings
|
||||
mysqli.default_port = 3306
|
||||
mysqli.default_socket =
|
||||
mysqli.default_host =
|
||||
mysqli.default_user =
|
||||
mysqli.default_pw =
|
||||
|
||||
; Redis extension
|
||||
extension = redis.so
|
||||
Reference in New Issue
Block a user